[Answer] The two inmates rejected from the analysis were ID 22 and ID 58.
We identified them by filtering the status of whether an inmate ate any of the meals served during November 16-17. Inmates ID 22 and ID 58 had all statuses equaling N, meaning they did not eat anything from each served meal.
| ID | B15Eat | B15BearClaw | B15CreamWheat | B15Syrup | B15Milk | B15Coffee | L15Eat | L15Hamburger | L15MMKP | L15Fries | L15Greens | L15Brownie | L15IceBev | D15Eat | D15BeefNoodle | D15Peas | D15Cornbread | D15Jello | D15IceBev | B16Eat | B16CoffeCake | B16Oatmeal | B16Milk | B16Coffee | L16Eat | L16Chicken | L16CBDressing | L16CornCob | L16Pudding | L16Roll | L16IceBev | D16Eat | D16Sandwich | D16MM | D16PotatoSoup | D16CreamPeas | D16SpiceCake | D16IceBev | B15Other | L15Other | D15Other | B16Other | L16Other | D16Other |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 22 | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | NA | Ate at visitors shed | Store bought | n | Made own lunch | Made own food |
| 58 | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | NA | NA | NA | NA | NA | NA |
Besides, we checked the “Other” notes after each meal for ID 22 and ID 58. We found there were no additional notes for ID 58. For ID 22, there are four additional notes for which we could decide he was not exposed to any potentially contaminated food and thus excluded him from the analysis.
Check additional “other” notes
[Answer]
Below is the frequency table for different clinical symptoms:
variable | N | U | Y |
|---|---|---|---|
BloodStool | 136 | 5 | 4 |
Cramps | 85 | 1 | 58 |
Diarrhea | 83 | 0 | 62 |
Fever | 128 | 3 | 14 |
Headache | 103 | 0 | 42 |
Nausea | 109 | 1 | 35 |
Vomiting | 117 | 1 | 26 |
Below are plots for the frequency of each clinical symptom and their distribution in “N”, “Y”, “U”
```
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.