# Castilla y Leon Influenza Rates data
data(flucyl)
# Optimal timing of an epidemic
tim<-memtiming(flucyl[1])
print(tim)
summary(tim)
plot(tim)
# Threshold calculation
epi<-memmodel(flucyl[1:7])
print(epi)
summary(epi)
plot(epi)
# Intensity thresholds
intensity<-memintensity(epi)
intensity
# Trend parameters
trend<-memtrend(epi)
trend
# Epidemic thresholds
e.thr<-epi$epidemic.thresholds
# Intensity threhsolds
i.thr<-epi$intensity.thresholds
# Surveillance
memsurveillance(flucyl[8],e.thr,i.thr,i.graph.file=FALSE)
Run the code above in your browser using DataLab