Calculate outcomes for a PSA using a user-defined function.
run_psa
calculates outcomes using a user-defined function and creates PSA objects
corresponding to the specified outcomes.
run_psa( psa_samp, params_basecase = NULL, FUN, outcomes = NULL, strategies = NULL, currency = "$", progress = TRUE, ... )
psa_samp |
A dataframe with samples of parameters for a probabilistic sensitivity analysis (PSA) |
params_basecase |
a named list of basecase values for input parameters needed by |
FUN |
Function that takes the parameter values in |
outcomes |
String vector with the outcomes of interest from |
strategies |
vector of strategy names. The default |
currency |
symbol for the currency being used (ex. "$", "£") |
progress |
|
... |
Additional arguments to user-defined |
A list containing PSA objects for each outcome in outcomes
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.