Maturing lifecycle

The transformation was reported to be successful in transform unimodal skewed distribution into normal distribution, but is not quite useful for bimodal or U-shaped distribution.

pow_manly(x, lambda = NULL)

Arguments

x

[univariate vector]

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

lambda

[numeric(1): NULL]

Transformation exponent, \(\lambda\).

Value

Returns a vector with the same class and attributes as the input vector.

Examples

set.seed(123) x <- runif(10) pow_manly(x, 3)
#> [1] 0.45654233 3.21437948 0.80358169 4.38020999 5.26679528 0.04881639 #> [7] 1.29198578 4.51504771 1.40981481 0.97824588