sens_run {mrgsim.sa} | R Documentation |
Run ad-hoc parameter sensitivity analyses with mrgsolve
Description
Run ad-hoc parameter sensitivity analyses with mrgsolve
Usage
sens_run(
mod,
par = NULL,
var = NULL,
method = c("factor", "cv", "range", "manual"),
vary = c("each", "grid"),
...,
sargs = list()
)
Arguments
mod |
a mrgsolve model object. |
par |
parameter names for sensitivity analysis; this can be a character vector or a comma-separated string (see examples). |
var |
names of model output variables to include in simulated output;
this could be the name of a compartment or another output derived inside
of the model (e.g. |
method |
parameter sequence generation method. |
vary |
use |
... |
passed to |
sargs |
a named list of arguments passed to |
Examples
mod <- mrgsolve::house()
dose <- mrgsolve::ev(amt = 100)
sens_run(
mod,
par = "CL,VC",
method = "cv",
vary = "each",
sargs = list(events = dose)
)
[Package mrgsim.sa version 0.2.0 Index]