Summarize costs and quality-adjusted life-years (QALYs) given output simulated
from an economic model. The summary output is used to perform
cost-effectiveness analysis with icea
and icea_pw
.
summarize_ce(costs, qalys)
Simulated costs by category.
Simulated QALYs.
An object of class ce
.
If mean costs and/or QALYs have already been computed
(i.e., an average within a population), then there
must be one observation for each discount rate (dr
),
PSA sample (sample
), treatment strategy (strategy_id
),
and health state (state_id
). Alternatively, there can be column
denoting a patient (patient_id
), in which case outcomes will first be
averaged across patients.