x_cmt {mapbayr} | R Documentation |
Read compartment options in a model
Description
Read compartment options in a model
Usage
adm_cmt(x)
obs_cmt(x)
Arguments
x |
model object |
Details
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.
Value
a vector of compartment identified as default "administration" or "observation" compartments.
Examples
#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)
[Package mapbayr version 0.10.0 Index]