File: label_both.Rd

package info (click to toggle)
r-cran-ggplot2 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,412 kB
  • sloc: sh: 9; makefile: 1
file content (25 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{label_both}
\alias{label_both}
\title{Label facets with value and variable.}
\usage{
label_both(variable, value)
}
\arguments{
\item{variable}{variable name passed in by facetter}

\item{value}{variable value passed in by facetter}
}
\description{
Label facets with value and variable.
}
\examples{
p <- qplot(wt, mpg, data = mtcars)
p + facet_grid(. ~ cyl)
p + facet_grid(. ~ cyl, labeller = label_both)
}
\seealso{
Other facet labellers: \code{\link{label_bquote}};
  \code{\link{label_parsed}}; \code{\link{label_value}}
}