apply_acd {mfp2} | R Documentation |
Function to apply Approximate Cumulative Distribution (ACD)
Description
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.
Usage
apply_acd(x, beta0, beta1, power, shift, scale, ...)
Arguments
x |
a numeric vector. |
beta0 , beta1 |
each a numeric value, representing the coefficients of the FP1 model for the ACD transformation. |
power |
a numeric value, estimated power to be used in the FP1 model for the ACD transformation. |
shift |
a numeric value that is used to shift the values of |
scale |
a numeric value used to scale |
... |
not used. |
Value
The transformed input vector x
.
[Package mfp2 version 1.0.0 Index]