Description Usage Arguments Details Value Author(s) References See Also Examples
These functions provide a visualization of the evolution of an epidemic, or multiple epidemics obtained via Monte Carlo, and the associated costs of the vaccination strategy employed
1 2 3 4 5 6 7 | ## S3 method for class 'epiman'
plot(x, type = c("epi", "costs", "params", "fracs",
"stops"), showd = FALSE, showv = FALSE, prior = FALSE,
main = NULL, ylim = NULL, tp = NULL, ...)
## S3 method for class 'MCepi'
plot(x, type = c("epi", "costs", "fracs", "stops"),
showd = FALSE, showv = FALSE, main = NULL, ylim = NULL, ...)
|
x |
the object to be plotted, either of class
|
type |
indicates the type of plot to be produced, including
the epidemic trajectory/ies ( |
main |
optional title argument for the plot. If not specified,
then an automatically generated default is used depending on the
|
ylim |
optional limit for the y axis of the plot, applies only
to |
tp |
this argument only applies to |
showd |
logical indicating if deaths should be
shown in the trajectory plots when |
showv |
indicates if vaccinations should be shown in the trajectory plot |
prior |
indicates whether the prior density should be added
to the plots when |
... |
additional arguments passed to |
The functions documented here support visualization
of "MCepi"
-class objects which are generated by the
MCepi
and MCmanage
function,
and "epiman"
-class objects are
generated by the manage
function. In both cases they
enable a visualization of the evolution of the resulting epidemic(s)
and costs associated with deaths, vaccinations, etc.
The only output of this function is beautiful plots
Daniel Merl <danmerl@gmail.com>
Leah R. Johnson <lrjohnson@uchicago.edu>
Robert B. Gramacy <rbgramacy@chicagobooth.edu>
and Mark S. Mangel <msmangl@ams.ucsc.edu>
D. Merl, L.R. Johnson, R.B. Gramacy, and M.S. Mangel (2010). “amei: An R Package for the Adaptive Management of Epidemiological Interventions”. Journal of Statistical Software 36(6), 1-32. http://www.jstatsoft.org/v36/i06/
D. Merl, L.R. Johnson, R.B. Gramacy, M.S. Mangel (2009). “A Statistical Framework for the Adaptive Management of Epidemiological Interventions”. PLoS ONE, 4(6), e5807. http://www.plosone.org/article/info:doi/10.1371/journal.pone.0005807
1 2 3 | ## for examples of the usage of these functions,
## please see the documentation for the functions
## listed in the See Also section, above
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.