Skip to content

Commit

Permalink
add missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mjskay committed Apr 3, 2024
1 parent f0d78ee commit 3723255
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/subscale.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' @param x a [numeric] vector to be rescaled.
#' Typically provided automatically by [geom_slabinterval()].
#' @param limits One of:
#' - `NULL` to use the range of the data
#' - A [numeric] vector of length two providing the limits of the scale. Use
#' `NA` to use the default minimum or maximum.
#' - A function that accepts a length-2 [numeric] vector of the automatic
#' limits and returns new limits. Unlike positional scales. Unlike
#' positional scales, these limits will not remove data.
#' @param expand A numeric vector of limit expansion constants of length
#' 2 or 4, following the same format used by the `expand` argument of
#' [continuous_scale()]. The default is not to expand the limits.
Expand Down
10 changes: 10 additions & 0 deletions man/subscale_thickness.Rd

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

0 comments on commit 3723255

Please sign in to comment.