Learn R Programming

SMPracticals (version 1.4-3.1)

darwin: Darwin's Maize Data

Description

The heights in eighths of inches of young maize plants put by Charles Darwin in four pots. He planted 15 pairs of plants together, one of each pair being cross-fertilised, and the other being self-fertilised.

Usage

data(darwin)

Arguments

Format

A data frame with 30 observations on the following 4 variables.

pot

a factor giving the pot

pair

a factor giving the pair

type

a factor giving the type of fertilisation

height

height of plant in eighths of inches

References

The original book is reprinted as part of Fisher, R. A. (1990) Statistical Methods, Experimental Design, and Scientific Inference. Oxford University Press.

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

Examples

Run this code
data(darwin)
attach(darwin)
plot(height~type)
anova(lm(height~pot+pair+type,data=darwin))

Run the code above in your browser using DataLab