Learn R Programming

MASS (version 7.3-51.6)

immer: Yields from a Barley Field Trial

Description

The immer data frame has 30 rows and 4 columns. Five varieties of barley were grown in six locations in each of 1931 and 1932.

Usage

immer

Arguments

Format

This data frame contains the following columns:

Loc

The location.

Var

The variety of barley ("manchuria", "svansota", "velvet", "trebi" and "peatland").

Y1

Yield in 1931.

Y2

Yield in 1932.

References

Venables, W. N. and Ripley, B. D. (1999) Modern Applied Statistics with S-PLUS. Third Edition. Springer.

Examples

Run this code
# NOT RUN {
immer.aov <- aov(cbind(Y1,Y2) ~ Loc + Var, data = immer)
summary(immer.aov)

immer.aov <- aov((Y1+Y2)/2 ~ Var + Loc, data = immer)
summary(immer.aov)
model.tables(immer.aov, type = "means", se = TRUE, cterms = "Var")
# }

Run the code above in your browser using DataLab