transform_etas_boxcox {pharmr} | R Documentation |
transform_etas_boxcox
Description
Applies a boxcox transformation to selected etas
Initial estimate for lambda is 0.1 with bounds (-3, 3).
Usage
transform_etas_boxcox(model, list_of_etas = NULL)
Arguments
model |
(Model) Pharmpy model to apply boxcox transformation to. |
list_of_etas |
(array(str) or str (optional)) Name/names of etas to transform. If NULL, all etas will be transformed (default). |
Value
(Model) Pharmpy model object
See Also
transform_etas_tdist
transform_etas_john_draper
Examples
## Not run:
model <- load_example_model("pheno")
model <- transform_etas_boxcox(model, c("ETA_CL"))
model$statements$before_odes$full_expression("CL")
## End(Not run)
[Package pharmr version 1.0.1 Index]