print.Rd {amei}R Documentation

Summarizing and printing amei output

Description

Summarizing, printing, and plotting the contents of a the following objects "MCepi", "optvac", "epiman". In the current version the printing and summary commands are very similar

Usage

## S3 method for class 'MCepi':
print(x, ...)
## S3 method for class 'optvac':
print(x, ...)
## S3 method for class 'epiman':
print(x, ...)
## S3 method for class 'MCepi':
summary(object, ...)
## S3 method for class 'optvac':
summary(object, ...)
## S3 method for class 'epiman':
summary(object, ...)
## S3 method for class 'summary.MCepi':
print(x, ...)
## S3 method for class 'summary.optvac':
print(x, ...)
## S3 method for class 'summary.epiman':
print(x, ...)

Arguments

object an object of class "MCepi", "optvac", or "epiman" that must be named object for the generic methods summary
x an object of class "MCepi", "optvac", or "epiman" that must be named x for generic printing and plotting via print
... passed to the generic print or summary commands

Details

The printing and summaries provided by these functions are essentially identical except that summary returns a list that allows the information to be extracted for external use (in code) whereas the printing adds some additional text for human consumption including information about the call

Other ways of extracting information contained in these objects include the functions getvac, getcost, and getpolicy. The plotting functions plot.MCepi, plot.optvac, and plot.epiman are also helpful

The list(s) returned by the summary command are detailed in the value section below

Value

The summary commands documented here return a list containing (a subset of) the items below. The other functions do not return values.

obj a copy of the input object
final in the case of "MCepi"-class object this is a data.frame containing a summary of the distribution of the total number of vaccinations and the final cost; for "epiman"-class objects the distributional information is replaced by a scalar
params in the case of "epiman"-class objects this data.frame containing a summary of the distributional information of SIR model parameters obtained during the final time step of the epidemic
best the best policy contained in the "optvac"-class object
worst the worst policy contained in the "optvac"-class object

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, optvac, manage, MCmanage, getvac, getcost, getpolicy, plot.MCepi, plot.optvac, plot.epiman


[Package amei version 1.0 Index]