label_value {ggplot2}R Documentation

Label facets with their value

Description

The default facet labelling just uses the value of the variable

Usage

label_value(variable, value)

Arguments

variable
value

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

p <- qplot(wt, mpg, data = mtcars)
p + facet_grid(~ cyl)
p + facet_grid(~ cyl, labeller = label_value)

[Package ggplot2 version 0.8.5 Index]