Learn R Programming

transx (version 0.0.1)

pow_tukey: Tukey Transformations Transformations

Description

Usage

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

Run this code
# NOT RUN {
set.seed(123)
x <- runif(10)
pow_tukey(x, 2)
# }

Run the code above in your browser using DataLab