label_value {ggplot2} | R Documentation |
Label facets with their value. This is the default labelling scheme.
label_value(variable, value)
variable |
variable name passed in by facetter |
value |
variable value passed in by facetter |
Other facet labellers: label_both
,
label_bquote
, label_parsed
p <- qplot(wt, mpg, data = mtcars) p + facet_grid(. ~ cyl) p + facet_grid(. ~ cyl, labeller = label_value)