Learn R Programming

MCAvariants (version 2.6.1)

alligator.dat: 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)

Arguments

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.

Examples

Run this code
data(alligator.dat)
#dim(alligator.dat)
#dimnames(alligator.dat)

Run the code above in your browser using DataLab