Description Usage Details Value Examples
This function creates the basis for a general pharmacometric model, a flexible but verbose model type.
1 | model()
|
The function creates the foundation for a general pharmacometric model to which different building blocks can be added. The following building blocks are relevant for this model type:
Parameters: prm_log_normal, prm_logit_normal, prm_no_var, prm_normal
Observations: obs_additive, obs_combined, obs_proportional
Algebraic relationships: algebraic
Compartments: compartment
Flows: flow
Input variables: input_variable, dataset
The more specialized pk_model()
is converted to a general model during the rendering process.
A general pharmacometric model
1 2 3 4 5 6 | m <- model() +
input_variable("dose") +
prm_log_normal("emax") +
prm_log_normal("ed50") +
obs_additive(eff~emax*dose/(ed50+dose))
render(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.