Plot cumulative incidence and VE estimates across all evaluation time points.
Usage
# S3 method for class 'vefit'
plot(object, ci_type = NULL, color = "#0072B2")
Arguments
- object
An object of class
vefit
created bynomatchVE()
ormatching_ve()
.- ci_type
Character string specifying the type of confidence interval bands to plot. One of "wald", "percentile", "simul", or "none". Must choose a
ci_type
whose lower and upper bounds are already computed inobject$estimates
component ofobject
.- color
Aesthetic value to map data values to. Default:
"#0072B2"
(blue)