Generic S3 method to plot either "R0.R" and "R0.sR" objects
plotfit(x, all = TRUE,
xscale = "w", SB.dist = TRUE,
...)
Object for which the fit should be plotted.
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.R
Pierre-Yves Boelle, Thomas Obadia
plot.fit is designed to either call plot.fit.R0.R or plot.fit.R0.sR. This S3 Method allows for plottinf the goodness of fit of a model to the original epidemic curve provided by user. Depending on the method of estimation, the graphical output will vary: - EG, ML and TD methods will show the original epidemic curve, along with the best-fitting prediction model - AR will only show the epidemic curve, since no actual model is computed - RTB will display 9 density curves for the R distribution throughout the epidemic