Create an Observed Over Expected Plot
createObservedOverExpectedPlot.Rd
Given 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
data
that defines the sample size to which the corresponding limit(s) relate(s)- observedRate
The column in
data
that 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
,upper
orlower
. Defaulttwo
.