Create an Observed Over Expected Plot
createObservedOverExpectedPlot.RdGiven a tibble created by createObservedOverExpectedTable create an
observed over expected plot.
Usage
createObservedOverExpectedPlot(
data,
n = NObserved,
observedRate = NULL,
alpha = 0.05,
sides = c("two", "lower", "upper")
)Arguments
- data
The tibble containing the calculated limits
- n
The column in
datathat defines the sample size to which the corresponding limit(s) relate(s)- observedRate
The column in
datathat defines the observed rate. May beNULL.- alpha
The Type 1 error rate associated with the calculated limits. Default 0.05
- sides
the sidedness of
alpha. Eithertwo,upperorlower. Defaulttwo.