File: label-value-vh.rd

package info (click to toggle)
r-cran-ggplot2 0.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,084 kB
  • sloc: makefile: 3
file content (20 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\name{label_value}
\alias{label_value}
\title{Label facets with their value}
\author{Hadley Wickham <h.wickham@gmail.com>}

\description{
The default facet labelling just uses the value of the variable
}
\usage{label_value(variable, value)}
\arguments{
\item{variable}{variable name passed in by facetter}
\item{value}{variable value passed in by facetter}
}



\examples{p <- qplot(wt, mpg, data = mtcars)
p + facet_grid(~ cyl)
p + facet_grid(~ cyl, labeller = label_value)}
\keyword{hplot}