Learn R Programming

mem (version 1.0)

mem-package: Moving Epidemics Method R Package

Description

This package creates the model described in the Moving Epidemics Method (MEM), used to monitor influenza activity during the seasonal surveillance.

Arguments

Details

ll{ Package: mem Type: Package Title: Moving Epidemics Method R Package. Version: 1.0 Date: 2010-11-26 Author: Jose E. Lozano Alonso Maintainer: Jose E. Lozano Alonso Depends: R (>= 2.12.0) Description: Modelization of influenza epidemics in order to monitor future activity. License: GPL (version 2 or later) } Functions to calculate the optimal timing of the epidemic and a threshold to give an early alert of the upcoming epidemic.

References

Vega T., Lozano J.E. (2004) Modelling influenza epidemic - can we detect the beginning and predict the intensity and duration? International Congress Series 1263 (2004) 281-283.

Examples

Run this code
require(mem)

## Castilla y Leon Influenza Rates data 
data(flucyl)
## Optimal timing of an epidemic
tim<-epitiming(flucyl[,1])
print(tim)
summary(tim)
plot(tim)
## Threshold calculation
epi<-epimem(flucyl)
print(epi)
summary(epi)
plot(epi)

Run the code above in your browser using DataLab