WeightGain | 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).
A data frame with 40 observations on the following 4 variables.
a factor with levels Beef
Cereal
a factor with levels High
Low
weight gain in grams
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.