CEA {MDMA} | R Documentation |
Cost-effectiveness analysis
Description
Perform a cost-effectiveness analysis. Or a cost-utility analysis.
Usage
CEA(data, group, cost, effect, B = 5000, currency = "euro")
Arguments
data |
a |
group |
group variable in |
cost |
cost variable in |
effect |
effect variable in |
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., |
Value
CEA
returns a list (class CEA
) with the following elements:
stats |
a |
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 |
Author(s)
Mathijs Deen
Examples
CEA(gnomes, insulationMethod, Costs, diffHATS, 5000, "acorns") |>
plot()