Creates a power transformation with a constant: (x + c)^lambda. Useful for Box-Cox transformations with zeros.
PowerPlusOneTransform(lambda, constant = 1)A PowerPlusOneTransform object
if (FALSE) { # \dontrun{
# Box-Cox transformation
trans <- PowerPlusOneTransform(lambda = 0.3)
# Custom constant
trans <- PowerPlusOneTransform(lambda = 0.5, constant = 0.5)
} # }