alligator.dat: Alligator in American lakes

alligator.datR Documentation

Alligator in American lakes

Description

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.

Usage

data(alligator.dat)

Format

A data frame with 300 alligators on the following 3 variables.

Size

A numeric vector of categories ranging from 1 to 2 (small and large).

Food

A numeric vector of categories ranging from 1 to 5 (type of food: fish, invertebrate, reptile, bird, other.

Lake

a numeric vector of categories ranging from 1 to 4 for the four American lakes: Hancock, Oklawaha, Trafford, George.

Source

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.

Examples

data(alligator.dat)
#dim(alligator.dat)
#dimnames(alligator.dat)

MCAvariants documentation built on Aug. 21, 2023, 5:09 p.m.