powered by
Applies a t-distribution transformation to selected etas
Initial estimate for degrees of freedom is 80 with bounds (3, 100).
transform_etas_tdist(model, list_of_etas = NULL)
(Model) Pharmpy model object
(Model) Pharmpy model to apply t distribution transformation to.
(array(str) or str (optional)) Name/names of etas to transform. If NULL, all etas will be transformed (default).
transform_etas_boxcox
transform_etas_john_draper
if (FALSE) { model <- load_example_model("pheno") model <- transform_etas_tdist(model, c("ETA_CL")) model$statements$before_odes$full_expression("CL") }
Run the code above in your browser using DataLab