Learn R Programming

hesim (version 0.2.0)

summarize_ce: Summarize costs and effectiveness

Description

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.

Usage

summarize_ce(costs, qalys)

Arguments

costs

Simulated costs by category.

qalys

Simulated QALYs.

Value

An object of class ce.

Details

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.