diff --git a/R/geom-text.R b/R/geom-text.R index d0f33a12ff..5aafdd6f85 100644 --- a/R/geom-text.R +++ b/R/geom-text.R @@ -49,7 +49,7 @@ #' can be used in various ways, including to prevent overplotting and #' improving the display. The `position` argument accepts the following: #' * The result of calling a position function, such as `position_jitter()`. -#' * A string nameing the position adjustment. To give the position as a +#' * A string naming the position adjustment. To give the position as a #' string, strip the function name of the `position_` prefix. For example, #' to use `position_jitter()`, give the position as `"jitter"`. #' * For more information and other ways to specify the position, see the diff --git a/R/layer.R b/R/layer.R index 7fc53571ef..bcad622d98 100644 --- a/R/layer.R +++ b/R/layer.R @@ -36,7 +36,7 @@ #' [layer geom][layer_geoms] documentation. #' @param stat The statistical transformation to use on the data for this layer. #' When using a `geom_*()` function to construct a layer, the `stat` -#' argument can be used the override the default coupling between geoms and +#' argument can be used to override the default coupling between geoms and #' stats. The `stat` argument accepts the following: #' * A `Stat` ggproto subclass, for example `StatCount`. #' * A string naming the stat. To give the stat as a string, strip the diff --git a/man/borders.Rd b/man/borders.Rd index 2fa16916e9..2f5e9f6841 100644 --- a/man/borders.Rd +++ b/man/borders.Rd @@ -53,7 +53,7 @@ will be used as the layer data. A \code{function} can be created from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{\code{stat}}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_blank.Rd b/man/geom_blank.Rd index 1f02b9cbc6..a8d4a2613d 100644 --- a/man/geom_blank.Rd +++ b/man/geom_blank.Rd @@ -37,7 +37,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_contour.Rd b/man/geom_contour.Rd index 72114072e2..c42aec41c9 100644 --- a/man/geom_contour.Rd +++ b/man/geom_contour.Rd @@ -89,7 +89,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_errorbarh.Rd b/man/geom_errorbarh.Rd index 21a4c79f5c..4e6fb3aae9 100644 --- a/man/geom_errorbarh.Rd +++ b/man/geom_errorbarh.Rd @@ -38,7 +38,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_function.Rd b/man/geom_function.Rd index 451c779003..faf9d8552e 100644 --- a/man/geom_function.Rd +++ b/man/geom_function.Rd @@ -41,7 +41,7 @@ mapping.} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_jitter.Rd b/man/geom_jitter.Rd index 2fa8acf555..03ad3e8490 100644 --- a/man/geom_jitter.Rd +++ b/man/geom_jitter.Rd @@ -40,7 +40,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_linerange.Rd b/man/geom_linerange.Rd index 0d70775f6d..87bc5c8e75 100644 --- a/man/geom_linerange.Rd +++ b/man/geom_linerange.Rd @@ -81,7 +81,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_map.Rd b/man/geom_map.Rd index 6a634702e9..58e83adad4 100644 --- a/man/geom_map.Rd +++ b/man/geom_map.Rd @@ -38,7 +38,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_path.Rd b/man/geom_path.Rd index 8c530e4d33..2c6383a616 100644 --- a/man/geom_path.Rd +++ b/man/geom_path.Rd @@ -70,7 +70,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_point.Rd b/man/geom_point.Rd index 762d4a1f80..56264c0a36 100644 --- a/man/geom_point.Rd +++ b/man/geom_point.Rd @@ -38,7 +38,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_polygon.Rd b/man/geom_polygon.Rd index 22670cbb8b..241490284a 100644 --- a/man/geom_polygon.Rd +++ b/man/geom_polygon.Rd @@ -39,7 +39,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_ribbon.Rd b/man/geom_ribbon.Rd index 2c7e805fc7..d4f5a707e1 100644 --- a/man/geom_ribbon.Rd +++ b/man/geom_ribbon.Rd @@ -66,7 +66,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_rug.Rd b/man/geom_rug.Rd index 6e84a4d985..1cc10e785a 100644 --- a/man/geom_rug.Rd +++ b/man/geom_rug.Rd @@ -41,7 +41,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_segment.Rd b/man/geom_segment.Rd index fc3adbbd8c..392ba20669 100644 --- a/man/geom_segment.Rd +++ b/man/geom_segment.Rd @@ -60,7 +60,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_spoke.Rd b/man/geom_spoke.Rd index 7fe6a9d9ee..ea28f601c1 100644 --- a/man/geom_spoke.Rd +++ b/man/geom_spoke.Rd @@ -39,7 +39,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/geom_text.Rd b/man/geom_text.Rd index 5f5dabe2d0..df6c6deba6 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -62,7 +62,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. @@ -79,7 +79,7 @@ can be used in various ways, including to prevent overplotting and improving the display. The \code{position} argument accepts the following: \itemize{ \item The result of calling a position function, such as \code{position_jitter()}. -\item A string nameing the position adjustment. To give the position as a +\item A string naming the position adjustment. To give the position as a string, strip the function name of the \code{position_} prefix. For example, to use \code{position_jitter()}, give the position as \code{"jitter"}. \item For more information and other ways to specify the position, see the diff --git a/man/geom_tile.Rd b/man/geom_tile.Rd index 326f36a2f4..34b9bb30bc 100644 --- a/man/geom_tile.Rd +++ b/man/geom_tile.Rd @@ -67,7 +67,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/ggsf.Rd b/man/ggsf.Rd index 3b8ff90bd7..c4ec76bed1 100644 --- a/man/ggsf.Rd +++ b/man/ggsf.Rd @@ -197,7 +197,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).} \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/labeller.Rd b/man/labeller.Rd index 52481179f9..2c863d2aee 100644 --- a/man/labeller.Rd +++ b/man/labeller.Rd @@ -42,7 +42,7 @@ for the argument \code{labeller}. \description{ This function makes it easy to assign different labellers to different factors. The labeller can be a function or it can be a -named character vectors that will serve as a lookup table. +named character vector that will serve as a lookup table. } \details{ In case of functions, if the labeller has class \code{labeller}, it diff --git a/man/layer.Rd b/man/layer.Rd index b4070fbe2a..e34ee05245 100644 --- a/man/layer.Rd +++ b/man/layer.Rd @@ -35,7 +35,7 @@ give the geom as \code{"point"}. \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}. diff --git a/man/layer_sf.Rd b/man/layer_sf.Rd index cda8db1d2e..a10dfa8805 100644 --- a/man/layer_sf.Rd +++ b/man/layer_sf.Rd @@ -33,7 +33,7 @@ give the geom as \code{"point"}. \item{stat}{The statistical transformation to use on the data for this layer. When using a \verb{geom_*()} function to construct a layer, the \code{stat} -argument can be used the override the default coupling between geoms and +argument can be used to override the default coupling between geoms and stats. The \code{stat} argument accepts the following: \itemize{ \item A \code{Stat} ggproto subclass, for example \code{StatCount}.