Skip to content

Commit

Permalink
Update R/transform-numeric.R
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 authored Oct 21, 2024
1 parent 707d5ed commit 3b123ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/transform-numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ asinh_trans <- transform_asinh
#' Box-Cox to also work with negative values.
#'
#' The Box-Cox power transformation (type 1) requires strictly positive values and
#' takes the following form for `y > 0`:
#' takes the following form for \eqn{\lambda > 0}:
#' \deqn{y^{(\lambda)} = \frac{y^\lambda - 1}{\lambda}}{y^(\lambda) = (y^\lambda - 1)/\lambda}
#' When \eqn{\lambda = 0}, the natural log transform is used.
#'
Expand Down

0 comments on commit 3b123ac

Please sign in to comment.