Description Usage Arguments Value Examples
The function is used to calculate the incidence fragility indices for every possible sufficiently likely threshold.
Note, the incidence fragility indices are formally defined in the article Incidence fragility index. The function bin.fi
in this package will calculate an incidence fragility index for a given threshold, and this function loops over bin.fi
for relevant grid of sufficiently likely thresholds min.p (i.e. q). The function incidence.plot
allows for a convenient
visualization of these values.
1 2 3 4 5 6 7 8 9 10 11 |
crosstab |
a 2x2 non negative integer matrix (contingency table) representing the output of a clinical trial. The rows correspond to treatment/control and the columns to event/nonevent. |
alg |
a string specifying the FI algorithm, 'exact', 'greedy', 'hybrid'. See the documentation of bin.fi for more information. Note that 'original' and 'original.bothdir' do not support the per-patient sufficiently likely threshold so cannot be used here. |
test |
a string specifying the test, defaulting to 'fisher' for the Fisher exact test. Alternatives include 'fisher.midp' and 'pearson.chisq'. |
fi.start |
the starting fragility index considered in the exact algorithm |
alpha |
a numeric for the significance threshold of the statistical test |
verbose |
a logical value for whether to print status updates while running |
a matrix containing the sufficiently likely threshold values q at which there is a changepoint and the corresponding values of the incidence fragility index. The value is the limit from the right.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.