WeightGain {PASWR} | R Documentation |
The data come from an experiment to study the gain in weight of rats fed on four different diets, distinguished by amount of protein (low and high) and by source of pretein (beef and cereal).
data(WeightGain)
A data frame with 40 observations on the following 4 variables.
ProteinSource
Beef
Cereal
ProteinAmount
High
Low
weightgain
The design of the experiment is acompletely randomized with ten rats on each of the four treatments.
D. J. Hand, F. Daly, A. D. Lunn, K. J. McConway and E. Ostrowski (1994) A Handbook of Small Datasets. Chapman and Hall/CRC, London.
aov(weightgain~ProteinSource*ProteinAmount, data=WeightGain)