Description Usage Arguments Value References Examples
View source: R/05-root-power.R
1 | pow_boxcox(x, lambda = NULL, lambda2 = NULL, ...)
|
x |
Univariate vector, numeric or ts object with only one dimension. |
lambda |
Transformation exponent, λ. |
lambda2 |
Transformation exponent, λ_2. |
... |
Further arguments passed to |
Returns a vector with the same class and attributes as the input vector.
Box, G. E., & Cox, D. R. (1964). An analysis of transformations. Journal of the Royal Statistical Society. Series B (Methodological), 211-252. https://www.jstor.org/stable/2984418
1 2 3 | set.seed(123)
x <- runif(10)
pow_boxcox(x, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.