Perform a cost-effectiveness analysis. Or a cost-utility analysis.
Usage
CEA(data, group, cost, effect, B = 5000, currency = "euro")
Value
CEA returns a list (class CEA) with the following elements:
stats
a data.frame containing the bootstrap statistics: estimates for
the difference in costs (diffC), the difference in effects(diffE),
and the ICER as a ratio of these two.
diff.C.true
Observed difference in costs.
diff.E.true
Observed difference in effects.
ICER.true
Observed incremental cost-effectiveness ratio.
gr1
First level of group variable.
gr2
Second level of group variable.
currencyUC
The currency. Either in raw form (parameter currency) or as
a Unicode hex.
Arguments
data
a data.frame with rows representing observations in for
example a cost-effectiveness trial.
group
group variable in data. Should contain two levels.
cost
cost variable in data.
effect
effect variable in data.
B
number of bootstrap samples.
currency
currency unit. See ?currency2unicode for options that will return
the a Unicode symbol that will be used in plot.CEA and plot.CEAC. If the parameter
is not listed, the parameter itself will be used. This makes it possible to input
a custom Unicode hex (e.g., "\u00Ae"). Defaults to "euro".