pow_manly {transx}R Documentation

Manly(1971) Transformations

Description

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.

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

set.seed(123)
x <- runif(10)
pow_manly(x, 3)

[Package transx version 0.0.1 Index]