diff --git a/R/scale-.r b/R/scale-.r index 3fa2f6cbde..6c289e63b7 100644 --- a/R/scale-.r +++ b/R/scale-.r @@ -36,6 +36,7 @@ #' - `waiver()` for the default labels computed by the #' transformation object #' - A character vector giving labels (must be same length as `breaks`) +#' - An expression vector (must be the same length as breaks). See ?plotmath for details. #' - A function that takes the breaks as input and returns labels #' as output. Also accepts rlang [lambda][rlang::as_function()] function #' notation. diff --git a/man/binned_scale.Rd b/man/binned_scale.Rd index 951ac64858..05ec50c87b 100644 --- a/man/binned_scale.Rd +++ b/man/binned_scale.Rd @@ -58,6 +58,7 @@ Also accepts rlang \link[rlang:as_function]{lambda} function notation. \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/continuous_scale.Rd b/man/continuous_scale.Rd index 5f55695097..1dbf902268 100644 --- a/man/continuous_scale.Rd +++ b/man/continuous_scale.Rd @@ -71,6 +71,7 @@ number of breaks given by the transformation.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/discrete_scale.Rd b/man/discrete_scale.Rd index 456361bb61..59cd8a9771 100644 --- a/man/discrete_scale.Rd +++ b/man/discrete_scale.Rd @@ -52,6 +52,7 @@ notation. \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/ggplot2-package.Rd b/man/ggplot2-package.Rd index becc53d969..2503e4a66a 100644 --- a/man/ggplot2-package.Rd +++ b/man/ggplot2-package.Rd @@ -8,10 +8,7 @@ \description{ \if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}} -A system for 'declaratively' creating graphics, - based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' - how to map variables to aesthetics, what graphical primitives to use, - and it takes care of the details. +A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details. } \seealso{ Useful links: diff --git a/man/scale_binned.Rd b/man/scale_binned.Rd index f2a34bfbb1..0963d298cf 100644 --- a/man/scale_binned.Rd +++ b/man/scale_binned.Rd @@ -71,6 +71,7 @@ Also accepts rlang \link[rlang:as_function]{lambda} function notation. \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_continuous.Rd b/man/scale_continuous.Rd index 926885a2b8..7eed5df1a4 100644 --- a/man/scale_continuous.Rd +++ b/man/scale_continuous.Rd @@ -93,6 +93,7 @@ number of breaks given by the transformation.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_date.Rd b/man/scale_date.Rd index f4ccbb0f49..528def2616 100644 --- a/man/scale_date.Rd +++ b/man/scale_date.Rd @@ -127,6 +127,7 @@ specified, \code{date_breaks} wins.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_discrete.Rd b/man/scale_discrete.Rd index b7c901a2d6..1d18498f6c 100644 --- a/man/scale_discrete.Rd +++ b/man/scale_discrete.Rd @@ -56,6 +56,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index 1dfbe880e7..2a399e9eb3 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -126,6 +126,7 @@ number of breaks given by the transformation.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_grey.Rd b/man/scale_grey.Rd index 4c73eaacef..d2a3458711 100644 --- a/man/scale_grey.Rd +++ b/man/scale_grey.Rd @@ -65,6 +65,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_hue.Rd b/man/scale_hue.Rd index fe497c05aa..a989031964 100644 --- a/man/scale_hue.Rd +++ b/man/scale_hue.Rd @@ -71,6 +71,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_linetype.Rd b/man/scale_linetype.Rd index 05c0d84193..b8ef69db2d 100644 --- a/man/scale_linetype.Rd +++ b/man/scale_linetype.Rd @@ -59,6 +59,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_manual.Rd b/man/scale_manual.Rd index b4386bbc58..ffc783d872 100644 --- a/man/scale_manual.Rd +++ b/man/scale_manual.Rd @@ -71,6 +71,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_shape.Rd b/man/scale_shape.Rd index ccf0906ac2..0cef550ad0 100644 --- a/man/scale_shape.Rd +++ b/man/scale_shape.Rd @@ -59,6 +59,7 @@ omitted.} \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_size.Rd b/man/scale_size.Rd index 649267b2e8..83ce8692e8 100644 --- a/man/scale_size.Rd +++ b/man/scale_size.Rd @@ -72,6 +72,7 @@ Also accepts rlang \link[rlang:as_function]{lambda} function notation. \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation. diff --git a/man/scale_steps.Rd b/man/scale_steps.Rd index 16b2ad1fd3..73a9ec2a1e 100644 --- a/man/scale_steps.Rd +++ b/man/scale_steps.Rd @@ -112,6 +112,7 @@ Also accepts rlang \link[rlang:as_function]{lambda} function notation. \item \code{waiver()} for the default labels computed by the transformation object \item A character vector giving labels (must be same length as \code{breaks}) +\item An expression vector (must be the same length as breaks). See ?plotmath for details. \item A function that takes the breaks as input and returns labels as output. Also accepts rlang \link[rlang:as_function]{lambda} function notation.