bsflu: Influenza outbreak in a boarding school

Description Details References See Also Examples

Description

An outbreak of influenza in an all-boys boarding school.

Details

Data are recorded from a 1978 flu outbreak in a closed population. The variable ‘B’ refers to boys confined to bed on the corresponding day and ‘C’ to boys in convalescence, i.e., not yet allowed back to class. In total, 763 boys were at risk of infection and, over the course of the outbreak, 512 boys spent between 3 and 7 days away from class (either in bed or convalescent). The index case was a boy who arrived at school from holiday six days before the next case.

References

Anonymous (1978). Influenza in a boarding school. British Medical Journal 1:587

See Also

sir_models

Other datasets: blowflies, dacca, measles, parus

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(magrittr)
library(tidyr)
library(ggplot2)

bsflu %>%
  gather(variable,value,-date,-day) %>%
  ggplot(aes(x=date,y=value,color=variable))+
  geom_line()+
  labs(y="number of boys",title="boarding school flu outbreak")+
  theme_bw()

kidusasfaw/pomp documentation built on May 20, 2019, 2:59 p.m.