View source: R/functions_wrapper.R
split_joint_distribution | R Documentation |
Splits etas following a joint distribution into separate distributions.
split_joint_distribution(model, rvs = NULL)
model |
(Model) Pharmpy model |
rvs |
(array(str) or str (optional)) Name/names of etas to separate. If NULL, all etas that are IIVs and non-fixed will become single. NULL is default. |
(Model) Pharmpy model object
create_joint_distribution : combine etas into a join distribution
## Not run:
model <- load_example_model("pheno")
model <- create_joint_distribution(model, c('ETA_CL', 'ETA_VC'))
model$random_variables$etas
model <- split_joint_distribution(model, c('ETA_CL', 'ETA_VC'))
model$random_variables$etas
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.