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_oneway(
parameters,
effectiveness = NULL,
strategies,
cost = NULL,
currency = "$",
other_outcome = NULL
)
a class dsa_oneway
object that can be passed to the owsa
function
to visualize the one-way sensitivity analyses contained in the object.
parameter values associated with costs, effectiveness, or other outcomes. The table must have two columns, with each parameter name in the first column and the associated parameter value in the second column:
parameter | value |
param1 name | param1 val1 |
... | ... |
param2 name | param2 val1 |
... | ... |
vector with the names of the strategies. Due to requirements in
certain uses of this vector, this function uses make.names
to modify
strategy names as necessary. It is strongly suggested that you follow the rules
in the make.names
help page, to avoid unexpected errors.
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 strategies
vector.
symbol for the currency being used (ex. "$", "£")