| Outbreak investigation | R Documentation |
This dataset contains information from an outbreak investigation concerning food poisoning on a sportsday in Thailand 1990.
Dichotomous variables for exposures and symptoms were coded as follow:
| 0 | = no | |
| 1 | = yes | |
| 9 | = missing or unknown | |
data(Outbreak)
A data frame with 1094 observations on the following 13 variables.
ida numeric vector
sexa numeric vector
| 0 | = female | |
| 1 | = male | |
agea numeric vector: age in years
| 99 | = missing | |
exptimean AsIs or character vector of exposure times
beefcurrya numeric vector: whether the subject had eaten beefcurry
saltegga numeric vector: whether the subject had eaten salted eggs
eclaira numeric vector: pieces of eclair eaten
| 80 | = ate but could not remember how much | |
| 90 | = totally missing information | |
watera numeric vector: whether the subject had drunk water
onsetan AsIs or character vector of onset times
nauseaa numeric vector
vomitinga numeric vector
abdpaina numeric vector: abdominal pain
diarrheaa numeric vector
Thaikruea, L., Pataraarechachai, J., Savanpunyalert, P., Naluponjiragul, U. 1995 An unusual outbreak of food poisoning. Southeast Asian J Trop Med Public Health 26(1):78-85.
data(Outbreak) .data <- Outbreak # Distribution of reported pieces of eclair taken attach(.data) tab1(eclair) # Defining missing value .data$eclair[.data$eclair > 20] <- NA detach(.data) attach(.data) pieces.of.eclair <- cut(eclair, c(0,1,2,20), include.lowest=TRUE, right=FALSE) tabpct(pieces.of.eclair, diarrhea) rm(list=ls()) detach(.data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.