label_parsed {ggplot2}R Documentation

Label facets with parsed label.

Description

Label facets with parsed label.

Usage

  label_parsed(variable, value)

Arguments

variable

variable name passed in by facetter

value

variable value passed in by facetter

See Also

plotmath

Other facet labellers: label_both, label_bquote, label_value

Examples

mtcars$cyl2 <- factor(mtcars$cyl, labels = c("alpha", "beta", "gamma"))
qplot(wt, mpg, data = mtcars) + facet_grid(. ~ cyl2)
qplot(wt, mpg, data = mtcars) + facet_grid(. ~ cyl2,
  labeller = label_parsed)

[Package ggplot2 version 0.9.3.1 Index]