pigs: Pig Diet Data

Description Usage Format Source References Examples

Description

Data on weight gains in 32 pigs, divided into eight groups of four, and with 4 different diets allocated to the group members.

Usage

1

Format

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

group

a factor with 8 levels

diet

a factor with levels IIV

gain

weight gain (units unknown)

Source

Unpublished lecture notes, Imperial College, London

References

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

Examples

1
2
data(pigs)
anova(lm(gain~group+diet,data=pigs))

SMPracticals documentation built on May 2, 2019, 11:12 a.m.