boxCoxTransform | R Documentation |
This function applies the Box-Cox transformation to the columns of a numeric matrix.
boxCoxTransform(data, lambdas, ...)
data |
A numeric matrix to be transformed. |
lambdas |
A numeric vector, a single number, NA, or NULL indicating the lambda parameter(s) for the Box-Cox transformation.
Use |
... |
additional parameters for |
data |
transformed data |
lambdas |
final lambda vector used in the calculations. |
data <- matrix(rnorm(40), ncol = 2)
result <- ldt:::boxCoxTransform(data, c(0.5, 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.