plot {iDOVE} | R Documentation |
Plot Estimated Vaccine Efficacy
Description
Generates plots of the estimated vaccine efficacy in reducing attack rate, the estimated vaccine efficacy in reducing the hazard rate, and their 95% confidence intervals.
Usage
## S3 method for class 'iDOVE'
plot(x, ...)
Arguments
x |
An iDOVE object. The value object returned by idove(). |
... |
ignored |
Value
No return value, called to produce graphical elements.
Examples
data(idoveData)
set.seed(1234)
smp <- sample(1L:nrow(x = idoveData), size = 250L)
# NOTE: This sample size is chosen for example only -- larger data sets
# should be used.
# See the vignette for a full analysis of the idoveData dataset
# Fit the model with default settings
result <- idove(formula = intCens(entry.time, left.time, right.time, vaccine.time) ~ 1,
data = idoveData[smp,])
plot(x = result)
[Package iDOVE version 1.5 Index]