boxcox: Box-Cox transformation

Description Usage Arguments Details References

View source: R/boxcox.R

Description

One parameter Box-Cox transformation

Usage

1
boxcox(x, lambda)

Arguments

x

numeric vector to be trasformed

lambda

lambda parameter, as numeric scalar

Details

If λ = 0, then log(x).

If λ = 1, then x.

Otherwise, (x^λ - 1)/λ.

References

Box, George EP, and David R. Cox. "An analysis of transformations." Journal of the Royal Statistical Society. Series B (Methodological) (1964): 211-252.


jobonaf/pesco documentation built on May 19, 2019, 2:58 p.m.