label_parsed {ggplot2}R Documentation

Label facets with parsed label.

Description

Parses the facet label, as if

Usage

label_parsed(variable, value)

Arguments

variable
value

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also

plotmath

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.8.5 Index]