Simple Box Cox, with no optimisation of lambda.
Arguments
- x
A vector or column of data to transform
- lambda
The lambda parameter of the Box Cox transform
- makepos
If
TRUE
(default) makes all values positive by subtracting the minimum and adding 1.- na.rm
If
TRUE
,NA
s will be removed: only relevant ifmakepos = TRUE
which invokesmin()
.