Skip to content

Explain possible arguments for discrete limits #4047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions R/scale-.r
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,12 @@ continuous_scale <- function(aesthetics, scale_name, palette, name = waiver(),
#' - A character vector of breaks
#' - A function that takes the limits as input and returns breaks
#' as output
#' @param limits A character vector that defines possible values of the scale
#' and their order.
#' @param limits One of:
#' - `NULL` to use the default scale values
#' - A character vector that defines possible values of the scale and their
#' order
#' - A function that accepts the existing (automatic) values and returns
#' new ones
#' @param drop Should unused factor levels be omitted from the scale?
#' The default, `TRUE`, uses the levels that appear in the data;
#' `FALSE` uses all the levels in the factor.
Expand Down
10 changes: 8 additions & 2 deletions man/discrete_scale.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_discrete.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_grey.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_hue.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_linetype.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_manual.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/scale_shape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.