R0.R
objectsPlot the fit of a single model output to epidemic data.
# S3 method for R0.R
plotfit(x, xscale = "w", SB.dist = TRUE, ...)
This function does not return any data. Called for side effect. Draws the fit of one estimation method to the data.
An output of est.R0.xx()
(class R0.R
).
Scale to be adjusted on x-axis. Can be d
(day), w
(week (default)), f
(fornight), m
(month).
Boolean. Should the R distirbution throughout the epidemic be plotted for the SB method (defaults to TRUE
) ?
Parameters passed to inner functions.
Pierre-Yves Boelle, Thomas Obadia
For internal use. This function is called by the plotfit()
S3 method.
Depending on the estimation method, either plotfitRxx()
, plotfitRAR()
or
plotfitRSB()
will be called.