|
22 | 22 | #' programming vignette](https://dplyr.tidyverse.org/articles/programming.html) |
23 | 23 | #' to learn more about these techniques. |
24 | 24 | #' |
25 | | -#' @param x,y,... List of name-value pairs in the form `aesthetic = variable` |
26 | | -#' describing which variables in the layer data should be mapped to which |
27 | | -#' aesthetics used by the paired geom/stat. The expression `variable` is |
28 | | -#' evaluated within the layer data, so there is no need to refer to |
29 | | -#' the original dataset (i.e., use `ggplot(df, aes(variable))` |
30 | | -#' instead of `ggplot(df, aes(df$variable))`). The names for x and y aesthetics |
31 | | -#' are typically omitted because they are so common; all other aesthetics must be named. |
| 25 | +#' @param x,y,... <[`data-masking`][rlang::topic-data-mask]> List of name-value |
| 26 | +#' pairs in the form `aesthetic = variable` describing which variables in the |
| 27 | +#' layer data should be mapped to which aesthetics used by the paired |
| 28 | +#' geom/stat. The expression `variable` is evaluated within the layer data, so |
| 29 | +#' there is no need to refer to the original dataset (i.e., use |
| 30 | +#' `ggplot(df, aes(variable))` instead of `ggplot(df, aes(df$variable))`). |
| 31 | +#' The names for x and y aesthetics are typically omitted because they are so |
| 32 | +#' common; all other aesthetics must be named. |
32 | 33 | #' @seealso [vars()] for another quoting function designed for |
33 | 34 | #' faceting specifications. |
34 | 35 | #' |
|
0 commit comments