R Dataset / Package HSAUR / weightgain

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-38517.csv 738 bytes
Documentation

Gain in Weight of Rats

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("weightgain")

Format

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

source

source of protein given, a factor with levels Beef and Cereal.

type

amount of protein given, a factor with levels High and Low.

weightgain

weigt gain 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.

Examples

  data("weightgain", package = "HSAUR")
  interaction.plot(weightgain$type, weightgain$source, 
                   weightgain$weightgain)
--

Dataset imported from https://www.r-project.org.

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package Ecdat / Airq March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Michelson March 9, 2018 - 1:06 PM Dataset
R Dataset / Package MASS / quine March 9, 2018 - 1:06 PM Dataset
R Dataset / Package mosaicData / Marriage March 9, 2018 - 1:06 PM Dataset
R Dataset / Package car / Bfox March 9, 2018 - 1:06 PM Dataset