From 3b123ac939a9fbb4a9dcc7f7a7d90dfabd4c0e1c Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Mon, 21 Oct 2024 11:13:31 +0200 Subject: [PATCH] Update R/transform-numeric.R --- R/transform-numeric.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/transform-numeric.R b/R/transform-numeric.R index bfd121f3..d84b3e46 100644 --- a/R/transform-numeric.R +++ b/R/transform-numeric.R @@ -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. #'