calculate_icers | R Documentation |
This function calculates the Incremental Cost-Effectiveness Ratios (ICERs) for a set of strategies based on their costs and effects.
calculate_icers(payoffs_summary, col_names = c("cost", "utility"))
payoffs_summary |
A matrix or data frame containing the summary statistics of the payoffs. It must have columns for cost and utility. |
col_names |
A character vector specifying the names of the columns for cost and utility. Default is c("cost", "utility"). |
A data frame with the following columns:
decision
: The name of the strategy.
cost
: The cost of the strategy.
utility
: The effect (utility) of the strategy.
inc_cost
: The incremental cost compared to the next less effective strategy.
inc_utility
: The incremental effect compared to the next less effective strategy.
ICER
: The Incremental Cost-Effectiveness Ratio.
status
: The dominance status of the strategy (ND = non-dominated, D = dominated, ED = extendedly dominated).
payoffs_summary <- matrix(c(100, 200, 0.5, 0.7), ncol = 2,
dimnames = list(c("Strategy A", "Strategy B"),
c("cost", "utility")))
calculate_icers(payoffs_summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.