Learn R Programming

fastR (version 0.10.3)

corn: Corn Yield

Description

William Gosset analyzed data from an experiment comparing the yield of regular and kiln-dried corn.

Arguments

Format

A data frame with 11 observations on the following 2 variables.

  • reg yield of regular corn (lbs/acre)

  • kiln yield of kiln-dried corn (lbs/acre)

Details

Gosset (Student) reported on the results of seeding plots with two different kinds of seed. Each type of seed (regular and kiln-dried) was planted in adjacent plots, accounting for 11 pairs of "split" plots.

References

W.S. Gosset, "The Probable Error of a Mean," Biometrika, 6 (1908), pp 1-25.

Examples

Run this code
# NOT RUN {
corn2 <- stack(corn)
names(corn2) <- c('yield','treatment')
lm(yield ~ treatment, data = corn2)
t.test(yield ~ treatment, data=corn2)
t.test(corn$reg, corn$kiln)

# }

Run the code above in your browser using DataLab