| PKMODEL {mrgsolve} | R Documentation |
Parse PKMODEL BLOCK data
Description
Parse PKMODEL BLOCK data
Usage
PKMODEL(
ncmt = 1,
depot = FALSE,
cmt = NULL,
trans = pick_trans(ncmt, depot),
env = list(),
pos = 1,
...
)
Arguments
ncmt |
number of compartments; must be 1 (one-compartment, not including a depot dosing compartment) or 2 (two-compartment model, not including a depot dosing compartment) |
depot |
logical indicating whether to add depot compartment |
cmt |
compartment names as comma-delimited character |
trans |
the parameterization for the PK model; must be 1, 2, 4, or 11 |
env |
parse environment |
pos |
block position number |
... |
not used |
Details
When using $PKMODEL, certain symbols must be defined in the
model specification depending on the value of ncmt, depot
and trans.
-
ncmt1,depot FALSE, trans 2:CL,V -
ncmt1,depot TRUE, trans 2:CL,V,KA -
ncmt2,depot FALSE, trans 4:CL,V1,Q,V2 -
ncmt2,depot TRUE, trans 4:CL,V2,Q,V3,KA
If trans=11 is specified, use the symbols listed above for the
ncmt / depot combination, but append i at the end
(e.g. CLi or Qi or KAi).
If trans=1, the user must utilize the following symbols:
-
pred_CLfor clearance -
pred_Vorpred_V2for central compartment volume of distribution -
pred_Qfor intercompartmental clearance -
pred_V3for for peripheral compartment volume of distribution -
pred_KAfor absorption rate constant