Learn R Programming

EpiModel (version 0.95)

summary.epiNet.simTrans: Summary Model Statistics

Description

This function extracts and prints model statistics solved with the epiNet.simTrans function.

Usage

## S3 method for class 'epiNet.simTrans':
summary(object, time, digits = 3,
  comp.plot = FALSE, ...)

Arguments

object
an EpiModel object of class epiNet.simTrans.
time
timestep for model statistics.
digits
number of significant digits to print.
comp.plot
if TRUE, plot compartments and flows in summary. This can be called separately using the comp.plot function.
...
additional summary function arguments.

Details

Summary statistics for the main epidemiological outcomes (state and transition size and prevalence) from an epiNet.simTrans model. Time-specific summary measures are provided, so it is necessary to input a time of interest. One may simultaneously obtain console-based statistics and a compartment plot via the comp.plot function through the comp.plot argument.

See Also

epiNet.simTrans, comp.plot

Examples

Run this code
## See EpiModel Tutorial vignette ##

Run the code above in your browser using DataLab