CEA | R Documentation |
Perform a cost-effectiveness analysis. Or a cost-utility analysis.
CEA(data, group, cost, effect, B = 5000, currency = "euro")
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., |
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 |
Mathijs Deen
CEA(gnomes, insulationMethod, Costs, diffHATS, 5000, "acorns") |>
plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.