getcost {amei} | R Documentation |
Extracts the (summary of the distribution of) final cost(s) or number
of vaccinations performed of Monte Carlo epidemic under a static
vaccination strategy as implemented by MCepi
or a
single adaptively managed epidemic as implemented by
manage
or MCmanage
getcost(obj) getvac(obj)
obj |
a object of class "MCepi" , "epiman" ,
or "MCmanage" |
getcost
returns distribution information for the
final (cumulative) costs of the (managed) epidemic,
and getvac
returns distribution information for
the cumulative number of vaccinations
performed.
If x
is if class "epiman"
then the single final
cost or number of vaccinations is performed is returned.
For further details of this function please see the
documentation for MCepi
and manage
The return value is a double-precision scalar indicating the
median final cost obtained under manage
,
or a data.frame
giving the median and quantiles calculated
by MCepi
or MCmanage
Daniel Merl <dan@stat.duke.edu>, Leah R. Johnson <leah@statslab.cam.ac.uk>, Robert B. Gramacy <bobby@statslab.cam.ac.uk>, and Mark S. Mangel <msmangl@ams.ucsc.edu>
A statistical framework for the adaptive management of epidemiological interventions (2008). Daniel Merl, Leah R. Johnson, Robert B. Gramacy, and Marc S. Mangel. Duke Working Paper 08-29. http://ftp.stat.duke.edu/WorkingPapers/08-29.html
## for an example of the usage of this function, ## please see the documentation for MCepi as ## referenced in the See Also section, above