boxCox | R Documentation |
Cox Box, Yeo Johnson and inverse transformation
boxCox(x, lambda = 1)
iBoxCox(x, lambda = 1)
yeoJohnson(x, lambda = 1)
iYeoJohnson(x, lambda = 1)
x |
data to transform |
lambda |
Cox-box lambda parameter |
Cox-Box Transformed Data
Matthew L. Fidler
boxCox(1:3,1) ## Normal
iBoxCox(boxCox(1:3,1))
boxCox(1:3,0) ## Log-Normal
iBoxCox(boxCox(1:3,0),0)
boxCox(1:3,0.5) ## lambda=0.5
iBoxCox(boxCox(1:3,0.5),0.5)
yeoJohnson(seq(-3,3),1) ## Normal
iYeoJohnson(yeoJohnson(seq(-3,3),1))
yeoJohnson(seq(-3,3),0)
iYeoJohnson(yeoJohnson(seq(-3,3),0),0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.