getcost {amei}R Documentation

Extract the Final Costs/Number of Vaccinations of the (Managed) Epidemic

Description

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

Usage

getcost(obj)
getvac(obj)

Arguments

obj a object of class "MCepi", "epiman", or "MCmanage"

Details

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

Value

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

Author(s)

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>

References

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

See Also

MCepi, manage, MCmanage

Examples

## for an example of the usage of this function,
## please see the documentation for MCepi as
## referenced in the See Also section, above

[Package amei version 1.0 Index]