label_value {ggplot2}R Documentation

Label facets with their value. This is the default labelling scheme.

Description

Label facets with their value. This is the default labelling scheme.

Usage

  label_value(variable, value)

Arguments

variable

variable name passed in by facetter

value

variable value passed in by facetter

See Also

Other facet labellers: label_both, label_bquote, label_parsed

Examples

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

[Package ggplot2 version 0.9.3.1 Index]