create_dsa_twoway | R Documentation |
The object returned by this function can be passed to
owsa
to do a one-way sensitivity analysis on each
parameter of interest.
create_dsa_twoway(
parameters,
effectiveness = NULL,
strategies,
cost = NULL,
currency = "$",
other_outcome = NULL
)
parameters |
parameter values associated with effectiveness and outcomes. The table must have two columns, one for each parameter. The parameter names must be the column names.
| |||||||||
strategies |
vector with the names of the strategies. Due to requirements in
certain uses of this vector, this function uses | |||||||||
cost , effectiveness , other_outcome |
data frames containing data for costs,
effectiveness or another outcome (user-defined), respectively.
Each simulation should be a row of the data frame, and each strategy should be a column.
Naming the columns of the data frames is not necessary, as they will be renamed with
the | |||||||||
currency |
symbol for the currency being used (ex. "$", "£") |
a class dsa_twoway
object that can be passed to the twsa
function
to visualize the two-way sensitivity analysis contained in the object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.