Run deterministic one-way sensitivity analysis (OWSA)
This function runs a deterministic one-way sensitivity analysis (OWSA) on a given function that produces outcomes.
run_owsa_det( params_range, params_basecase, nsamp = 100, FUN, outcomes = NULL, strategies = NULL, progress = TRUE, ... )
params_range |
data.frame with 3 columns in the following order: "pars",
"min", and "max". The number of samples from this range is
determined by |
params_basecase |
a named list of basecase values for input parameters needed by |
nsamp |
number of sets of parameter values to be generated. If |
FUN |
function that takes the basecase in |
outcomes |
string vector with the outcomes of interest from |
strategies |
vector of strategy names. The default |
progress |
|
... |
Additional arguments to user-defined |
A list containing dataframes with the results of the sensitivity analyses.
The list will contain a dataframe for each outcome specified.
List elements can be visualized with plot.owsa
,
owsa_opt_strat
and
owsa_tornado
from dampack
params_range
"pars" are the names of the input parameters of interest. These are the parameters that will
be varied in the deterministic sensitivity analysis. variables in "pars" column
must be a subset of variables in params_basecase
"min" and "max" are the mininum and maximum values of the parameters of interest.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.