Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 14, 2023
1 parent 5111d92 commit 3504f87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/data_rescale.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Rescale Variables to a New Range
#'
#' Rescale variables to a new range.
#' Can also be used to reverse-score variables (change the keying/scoring direction).
#' Rescale variables to a new range. Can also be used to reverse-score variables
#' (change the keying/scoring direction), or to expand a range.
#'
#' @inheritParams categorize
#' @inheritParams find_columns
Expand All @@ -13,12 +13,12 @@
#' @param multiply If not `NULL`, `to` is ignored and `multiply` will be used,
#' giving the factor by which the actual range of `x` should be expanded.
#' For example, if a vector range from 5 to 15 and `multiply = 1.1`, the current
#' range of 10 will be expanced by the factor of 1.1, giving a new range of
#' range of 10 will be expanded by the factor of 1.1, giving a new range of
#' 11. Thus, the rescaled vector would range from 4.5 to 15.5.
#' @param add If not `NULL`, `to` is ignored and `add` will be used, giving the
#' amount by which the actual range of `x` should be expanded. For example,
#' if a vector range from 5 to 15 and `add = 1`, the current range of 10 will
#' be expanced by 1, giving a new range of 11. Thus, the rescaled vector would
#' be expanded by 1, giving a new range of 11. Thus, the rescaled vector would
#' range from 4.5 to 15.5, because the lower and upper bounds are each expanded
#' by half of the amount specified in `add`.
#' @param range Initial (old) range of values. If `NULL`, will take the range of
Expand Down
8 changes: 4 additions & 4 deletions man/rescale.Rd

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

0 comments on commit 3504f87

Please sign in to comment.