weight {asuR}R Documentation

Weight Gain

Description

The data arise 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 protein (beef and cereal).

Usage

data(weight)

Format

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

source
a factor with levels Beef Cereal; source of the protein fed
type
a factor with levels High Low, amount of the protein fed
weightgain
a numeric vector; weight gained in grams

Details

Ten rats are randomized to each of the four treatments. The question of interest is how diet affects weight gain.

Source

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.

References

from library(HSAUR)

Examples

data(weight)
interaction.plot(weight$type, weight$source, 
                        weight$weightgain)

[Package asuR version 0.08-24 Index]