plot.incidence_spline_model {incidental} | R Documentation |
Plot model from fit_incidence
Description
Plot time, reported cases, incidence curve with credible interval, and implied case curve.
Usage
## S3 method for class 'incidence_spline_model'
plot(x, ...)
Arguments
x |
An "incidence_spline_model" output from |
... |
Other parameters that can be included:
|
Examples
indiana_model <- fit_incidence(
reported = spanish_flu$Indiana,
delay_dist = spanish_flu_delay_dist$proportion)
plot(indiana_model, times = spanish_flu$Date)
[Package incidental version 0.1 Index]