Maturing lifecycle

pow_tukey(x, lambda = NULL, ...)

Arguments

x

[univariate vector]

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

lambda

[numeric(1): NULL]

Transformation exponent, \(\lambda\).

...

Further arguments passed to pow.

Value

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

Examples

set.seed(123) x <- runif(10) pow_tukey(x, 2)
#> [1] 0.082700830 0.621424987 0.167262123 0.779719736 0.884478713 0.002075395 #> [7] 0.278895407 0.796411751 0.304080575 0.208497016