incidence.plot: Plot the output of bin.fi.incidence

Description Usage Arguments Value Examples

View source: R/front.R

Description

The plot follows the convention that the not filled-in circled points are not on the line and the points with a filled-in circle are on the line.

Usage

1
incidence.plot(out, ylab = latex2exp::TeX("Incidence fragility index $FI_q$"))

Arguments

out

the output of bin.fi.incidence

ylab

a string or LaTeX expression for the vertical axis label

Value

a plot visualizing the incidence fragility indices

Examples

1
2
3
4
x <- matrix(nrow=2,byrow=TRUE,c(5, 100, 30, 70),
dimnames = list(c('treatment', 'control'), c('event', 'nonevent')))
out <- bin.fi.incidence(crosstab=x, alg='exact')
incidence.plot(out)

brb225/FragilityTools documentation built on Jan. 21, 2022, 1:26 a.m.