Options that apply to all doses of a simulation, as on the app's Simulation
page ("Transform Dose" and the infusion settings), for mvp_simulate(),
mvp_sensitivity() and mvp_batch().
Usage
mvp_dose_options(
weight_based = FALSE,
wt_name = "WT",
mw = NULL,
mw_factor = 1e+06,
model_duration = NULL,
model_rate = NULL
)Arguments
- weight_based
If
TRUE, doses are per kg: each dose is multiplied by the subject's weight (wt_name).- wt_name
Name of the weight parameter or covariate.
- mw
Molecular weight (g/mol) to convert doses: each dose is divided by
mwand multiplied bymw_factor.NULL(default): doses are used as given.- mw_factor
Multiplication factor for
mw. The default,1e6, converts mg to nmol (and mg/kg to nmol/kg).- model_duration, model_rate
Infusion duration (
D_) or rate (R_) set in the model code.NULL(default) turns them on when the model code sets them, as the app does.