Description Usage Arguments Details Value Author(s)
This is an internal function that takes as input a dataset with
4 columns ID, RESPONSE, COST and TREATMENT and extracts and generates
a list with the required information.
1 |
data |
a dataset with 4 columns holding respectively, ID, treatment outcome, treatment cost and treatment arm. |
to be written
a list with the following items:
idxA indices of the observation in the first treatment arm
idxB indices of the observation in the second treatment arm
cost cost values
meanCostA mean cost for the first treatment arm
meanCostB mean cost for the second treatment arm
meanOutcomeA mean outome for the first treatment arm
meanOutcomeB mean outome for the second treatment arm
seCostA standard error of the cost of the first treatment arm
seCostB standard error of the cost of the second treatment arm
seOutcomeA standard error of the outcome of the first treatment arm
seOutcomeB standard error of the outcome of the second treatment arm
Amadou Gaye & Felix Achana
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.