transformationBoxCox-class {power.transform} | R Documentation |
Box-Cox transformation object
Description
This class is used for Box-Cox transformations.
Slots
method
Main transformation method, i.e.
"box_cox"
.robust
Indicates whether a robust version of the Box-Cox transformation is used to set transformation parameters. The value depends on the
robust
argument of thefind_transformation_parameters
function.lambda
Numeric lambda parameter for the Box-Cox transformation.
shift
Numeric shift parameter for the Box-Cox transformation. The value depends on the data used for setting transformation parameters. If all data are strictly positive,
shift
has a value of0.0
. When negative or zero values are present, data are shifted to be strictly positive. Ifinvariant=TRUE
in thefind_transformation_parameters
function,lambda
,shift
andscale
parameters are optimised simultaneously.scale
Numeric scale parameter for the Box-Cox transformation. If
invariant=TRUE
in thefind_transformation_parameters
function,lambda
,shift
andscale
parameters are optimised simultaneously. Otherwise, thescale
parameter has a value of1.0
.complete
Indicates whether transformation parameters were set.
See Also
find_transformation_parameters