create_icer_table: Create an ICER table based on a set of average cost and...

Description Usage Arguments Value

View source: R/icer_table.R

Description

Create an ICER table based on a set of average cost and effect values by a set of unique intervention variables.

Usage

1
2
create_icer_table(cst_vec, eff_vec, intv_names, eff_more_better = TRUE,
  cost_order = TRUE, table_print = TRUE)

Arguments

cst_vec

A vector of average cost values the same length as intv_names.

eff_vec

A vector of average effect values the same length as intv_names.

intv_names

A vector of character strings representing intervention names for each unique intervention to include a row in the ICER table.

eff_more_better

If TRUE, a greater value for effects indicates a better outcome. If FALSE, a smaller value for effects indicates a better outcome. Default is TRUE.

cost_order

If true, the order of options in an ICER table will be by increasing average cost. If false, the order of options in an ICER table will be by increasing average effect.

table_print

If true, the ICER table will be printed to the Console. If false, priting of the ICER table to the Console will be suppressed.

Value

Here


bmckay/ceaR documentation built on May 23, 2019, 9:01 p.m.