pow_yj: Yeo and Johnson(2000) Transformations

Description Usage Arguments Value References Examples

View source: R/05-root-power.R

Description

Maturing lifecycle

Usage

1
pow_yj(x, lambda = NULL, ...)

Arguments

x

[univariate vector]

Univariate vector, numeric or ts object with only one dimension.

lambda

[numeric(1): NULL]

Transformation exponent, λ.

...

Further arguments passed to pow.

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

1
2
3
set.seed(123)
x <- runif(10)
pow_yj(x, 3)

kvasilopoulos/transx documentation built on Jan. 26, 2021, 6:14 p.m.