plot.vaccineff {vaccineff} | R Documentation |
Function for Extracting Vaccine Effectiveness Plot
Description
This function creates plots from an object of class
vaccineff
. It returns a Log-Log plot when type = "loglog"
,
or a Survival curve when type = "surv"
. Survival plots can be
shown as cumulative incidence (cumulative = TRUE
), and using
percentages (percentage = TRUE
).
Usage
## S3 method for class 'vaccineff'
plot(
x,
type = c("loglog", "surv"),
cumulative = FALSE,
percentage = FALSE,
...
)
Arguments
x |
Object of class |
type |
Type of plot. Options are |
cumulative |
If |
percentage |
If |
... |
Additional arguments passed to other functions. |
Value
Plot extracted from vaccineff
.
[Package vaccineff version 1.0.0 Index]