Applies the acd transformation as outlined in Royston (2014) and Royston and
Sauerbrei (2016).
Designed to work with the output of fit_acd()
, Please refer to the corresponding
documentation for more details.
apply_acd(x, beta0, beta1, power, shift, scale, ...)
The transformed input vector x
.
a numeric vector.
each a numeric value, representing the coefficients of the FP1 model for the ACD transformation.
a numeric value, estimated power to be used in the FP1 model for the ACD transformation.
a numeric value that is used to shift the values of x
to
positive values.
a numeric value used to scale x
.
not used.