Learn R Programming

isdals (version 3.0.1)

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

Arguments

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

Examples

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

Run the code above in your browser using DataLab