label_bquote {ggplot2}R Documentation

Label facet with 'bquoted' expressions

Description

See bquote for details on the syntax of the argument. The label value is x.

Usage

  label_bquote(expr = beta^.(x))

Arguments

expr

labelling expression to use

See Also

plotmath

Other facet labellers: label_both, label_parsed, label_value

Examples

p <- qplot(wt, mpg, data = mtcars)
p + facet_grid(. ~ vs, labeller = label_bquote(alpha ^ .(x)))
p + facet_grid(. ~ vs, labeller = label_bquote(.(x) ^ .(x)))

[Package ggplot2 version 0.9.3.1 Index]