Learn R Programming

SMPracticals (version 1.4-3.1)

chimps: Chimpanzee Learning Data

Description

These are the times in minutes taken for four chimpanzees to learn each of four words.

Usage

data(chimps)

Arguments

Format

A data frame with 40 observations on the following 3 variables.

chimp

a factor with levels 1-4

word

a factor with 1-10

y

learning time (minutes)

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 485.

Examples

Run this code
data(chimps)
anova(glm(y~chimp+word,Gamma(log),data=chimps),test="F")
anova(glm(y~word+chimp,Gamma(log),data=chimps),test="F")

Run the code above in your browser using DataLab