Description Usage Arguments Value Examples
Returns the transformed values of a particular column of data using the Box-Cox method for a particular value of lambda. The transformation is \frac{x^{λ} - 1}{x} if λ ≠ 0 and log_e(x) if λ = 0
1 | box_cox(x, lambda)
|
x |
a vector of data |
lambda |
the value of lambda for the Box-Cox transformation |
x_lamb the transformed data
1 | box_cox(x = 1:10, lambda = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.