Learn R Programming

transx (version 0.0.1)

pow_manly: Manly(1971) Transformations

Description

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.

Usage

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

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

Run the code above in your browser using DataLab