x_cmt | R Documentation |
Read compartment options in a model
adm_cmt(x)
obs_cmt(x)
x |
model object |
In a mrgsolve model, it is possible to specify options in $CMT
. If [ADM]
or [OBS]
are set, mapbayr will interpret these as defaults administration and observation compartments, respectively.
a vector of compartment identified as default "administration" or "observation" compartments.
#Administration: Both 1st and 0- order
model <- exmodel(6, compile = FALSE)
mrgsolve::see(model)
adm_cmt(model)
#Observation: Both parent drug and metabolite
model <- exmodel(401, compile = FALSE)
mrgsolve::see(model)
obs_cmt(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.