Skip to content

Commit

Permalink
Passing parameters to trans argument (#5361)
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Aug 1, 2023
1 parent d21ac51 commit af4cc02
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 27 deletions.
7 changes: 4 additions & 3 deletions R/scale-.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@
#'
#' A transformation object bundles together a transform, its inverse,
#' and methods for generating breaks and labels. Transformation objects
#' are defined in the scales package, and are called `<name>_trans` (e.g.,
#' [scales::boxcox_trans()]). You can create your own
#' transformation with [scales::trans_new()].
#' are defined in the scales package, and are called `<name>_trans`. If
#' transformations require arguments, you can call them from the scales
#' package, e.g. [`scales::boxcox_trans(p = 2)`][scales::boxcox_trans].
#' You can create your own transformation with [scales::trans_new()].
#' @param guide A function used to create a guide or its name. See
#' [guides()] for more information.
#' @param expand For position scales, a vector of range expansion constants used to add some
Expand Down
7 changes: 4 additions & 3 deletions man/binned_scale.Rd

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

7 changes: 4 additions & 3 deletions man/continuous_scale.Rd

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

7 changes: 4 additions & 3 deletions man/scale_binned.Rd

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

7 changes: 4 additions & 3 deletions man/scale_continuous.Rd

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

7 changes: 4 additions & 3 deletions man/scale_gradient.Rd

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

7 changes: 4 additions & 3 deletions man/scale_linewidth.Rd

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

7 changes: 4 additions & 3 deletions man/scale_size.Rd

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

7 changes: 4 additions & 3 deletions man/scale_steps.Rd

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

0 comments on commit af4cc02

Please sign in to comment.