boxCox function

boxCox/yeoJohnson and inverse boxCox/yeoJohnson functions

boxCox/yeoJohnson and inverse boxCox/yeoJohnson functions

boxCox(x, lambda = 1) boxCoxInv(x, lambda = 1) yeoJohnson(x, lambda = 1) yeoJohnsonInv(x, lambda = 1)

Arguments

  • x: input value(s) to transform
  • lambda: lambda value for the transformation

Returns

values from boxCox and boxCoxInv

Examples

boxCox(10, 0.5) boxCoxInv(4.32, 0.5) yeoJohnson(10, 0.5) yeoJohnsonInv(4.32, 0.5)