View source: R/functions_wrapper.R
transform_etas_john_draper | R Documentation |
Applies a John Draper transformation (1) to spelected etas
Initial estimate for lambda is 0.1 with bounds (-3, 3).
(1) John, J., Draper, N. (1980). An Alternative Family of Transformations. Journal of the Royal Statistical Society. Series C (Applied Statistics), 29(2), 190-197. doi:10.2307/2986305
transform_etas_john_draper(model, list_of_etas = NULL)
model |
(Model) Pharmpy model to apply John Draper transformation to. |
list_of_etas |
(array(str) or str (optional)) Name/names of etas to transform. If NULL, all etas will be transformed (default). |
(Model) Pharmpy model object
transform_etas_boxcox
transform_etas_tdist
## Not run:
model <- load_example_model("pheno")
model <- transform_etas_john_draper(model, c("ETA_CL"))
model$statements$before_odes$full_expression("CL")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.