alligator: Alligator food preference

alligatorR Documentation

Alligator food preference

Description

Data on food preference for 59 alligators. It is of interest to examine if different sized alligators have different food preferences.

Usage

data(alligator)

Format

A data frame with 59 observations on the following 2 variables.

length

length of the alligator (in meters)

food

a factor with levels Fish Invertebrates Other representing the food preference

Source

Agresti, A. (2007). An Introduction to Categorical Data Analysis. Wiley

Examples

data(alligator)
library(VGAM)
model <- vglm(food ~ length, family=multinomial, data=alligator)
summary(model)

isdals documentation built on Aug. 20, 2023, 1:07 a.m.

Related to alligator in isdals...