alligator.dat | R Documentation |
The data set is a three-way contingency table.
It consists of 2 rows (alligators'size), 5 columns (alligators'food)
by 4 tubes (alligators'lake). The table should be converted in reduced code table,
using the function tableconvert
for getting alligatormca
.
data(alligator.dat)
A data frame with 300 alligators on the following 3 variables.
A numeric vector of categories ranging from 1 to 2 (small and large).
A numeric vector of categories ranging from 1 to 5 (type of food: fish, invertebrate, reptile, bird, other.
a numeric vector of categories ranging from 1 to 4 for the four American lakes: Hancock, Oklawaha, Trafford, George.
Agresti (2007), p. 270
Agresti A and Gottard A 2007 Independence in multiway contingency tables: S.n. roys breakthroughs and later
developments. Journal of Statistical Planning and Inference, 137:3126–3226.
data(alligator.dat)
#dim(alligator.dat)
#dimnames(alligator.dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.