Description Usage Arguments Details Value Author(s) Examples
The function takes 2 datasets and a vector of wilingness-to-pay values.
The dataset MUST have 4 columns ID
, RESPONSE
, COST
and TREATMENT
which hold respectively unique subject identifiers, treatment outcome, treatment cost
and 2 treatment arms names. If no values are for wilingness-to-pay, 101 default values ranging
from 0 to 500,000 are used to estimate the Lins's concordance correlation between the 2 datasets.
1 2 |
data1 |
a dataset with 4 columns holding respectively, ID, treatment outcome, treatment cost and treatment arm. |
data2 |
a dataset with 4 columns holding respectively, ID, treatment outcome, treatment cost and treatment arm. |
will2pay |
a numeric vector of willingness-to-pay thresholds. |
ccThreshold |
concordance correlation cut-off, default value is 0.40. |
CI |
confidence interval. |
treatResponse |
a character, default is |
to be written
a list which holds the below items:
cccNB
Lin's concordance correlation between net benefits.
secccNB
standard error of the concordance correlation.
lclcccNB
lower limit of the concordance correlation.
uclcccNB
upper limit of the concordance correlation.
pvaluecccNB1
pvalue of the concordance correlation for the 1st dataset
pvaluecccNB2
pvalue of the concordance correlation for the 2nd dataset
Amadou Gaye & Felix Achana
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.