Plots the fit of a model to epidemic data
# S3 method for R0.R
plotfit(x, all = TRUE,
xscale = "w", SB.dist = TRUE,
...)
Called for its side effect : Draws the fit of one estimation method to the data.
Result of est.R (class R0.R)
Should the whole epidemic curve be shown
Scale to be adjusted on X axis. Can be "d" (day), "w" (week (default)), "f" (fornight), "m" (month).
Should R distribution throughout the epidemic be plotted for SB method? (default: TRUE)
Parameters passed to plot
Pierre-Yves Boelle, Thomas Obadia
For internal use. Called by plotfit
.
For internal use. Called by plotfit.R0.sR
.