pow_yj {transx} | R Documentation |
Yeo and Johnson(2000) Transformations
Description
Usage
pow_yj(x, lambda = NULL, ...)
Arguments
x |
Univariate vector, numeric or ts object with only one dimension. |
lambda |
Transformation exponent, |
... |
Further arguments passed to |
Value
Returns a vector with the same class and attributes as the input vector.
References
Yeo, I., & Johnson, R. (2000). A New Family of Power Transformations to Improve Normality or Symmetry. Biometrika, 87(4), 954-959. http://www.jstor.org/stable/2673623
Examples
set.seed(123)
x <- runif(10)
pow_yj(x, 3)
[Package transx version 0.0.1 Index]