run_psa | R Documentation |
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 data frame with samples of parameters for a probabilistic sensitivity analysis (PSA) |
params_basecase |
a named list of base case 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
.
run_psa
,
make_psa_obj
,
gen_psa_samp
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.