Creates a power transformation with a constant: (x + c)^lambda. Useful for Box-Cox transformations with zeros.
PowerPlusOneTransform(lambda, constant = 1)A spec for a Julia `PowerPlusOneTransform`, built when it is used (see [juliabridge::julia_spec()])
if (FALSE) { # \dontrun{
# Box-Cox transformation
trans <- PowerPlusOneTransform(lambda = 0.3)
# Custom constant
trans <- PowerPlusOneTransform(lambda = 0.5, constant = 0.5)
} # }