Generate a table of incremental cost-effectiveness ratios given output from
cea_pw()
.
icer_tbl(
x,
k = 50000,
cri = TRUE,
prob = 0.95,
digits_qalys = 2,
digits_costs = 0,
output = c("matrix", "data.table"),
rownames = NULL,
colnames = NULL,
drop = TRUE
)
If output = "matrix"
, then a list of matrices (or a matrix if
drop = TRUE
) reporting incremental cost-effectiveness ratios (ICERs)
by group. Specifically, each matrix contains five rows for: (i)
incremental quality-adjusted life-years (QALYs), (ii) incremental costs,
(iii) the incremental net monetary benefit (NMB), (iv) the ICER,
and (v) a conclusion stating whether each strategy is cost-effective relative
to a comparator. The number of columns is equal to the
number of strategies (including the comparator).
If output = "data.table"
, then the results are reported as a data.table
,
with one row for each strategy and group combination.
An object of class cea_pw
returned by cea_pw()
.
Willingness to pay.
If TRUE
, credible intervals are computed; otherwise
they are not.
A numeric scalar in the interval (0,1)
giving the credible interval.
Default is 0.95 for a 95 percent credible interval.
Number of digits to use to report QALYs.
Number of digits to use to report costs.
Should output be a data.table
or a list of matrices for
each group.
Row names for matrices when output = "matrix"
.
Column names for matrices when output = "matrix"
.
If TRUE
, then the result is coerced to the lowest possible dimension.
Relevant if output = "matrix"
and there is one group, in which case a single
matrix will be returned if drop = TRUE
and a list of length 1 will be returned
if drop = FALSE
.
cea_pw()