Description Usage Format Source References Examples
Two-by-two contingency table of malaria (Plasmodium) infection status in control and egg-removal populations of Great Tit (Parus major).
1 |
A data frame with 4 observations on the following 3 variables.
treatment
a factor with levels Control
and Egg removal
response
a factor with levels Malaria
and No Malaria
count
a numeric vector
Oppliger, A., P. Christe, and H. Richner. 1996. Clutch size and malaria resistance. Nature 381: 565.
http://www.nature.com/nature/journal/v381/n6583/abs/381565a0.html
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(GreatTitMalaria)
str(GreatTitMalaria)
GreatTitMalaria
# Table 2.3-1
GTM.raw <- expand.dft(GreatTitMalaria, "count")
table(GTM.raw)
if(require(vcd)) {
mosaic(~treatment + response, GTM.raw)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.