R Dataset / Package MASS / immer


On this R-data statistics page, you will find information about the immer data set which pertains to Yields from a Barley Field Trial. The immer data set is found in the MASS R package. You can load the immer data set in R by issuing the following command at the console data("immer"). This will load the data into a variable called immer. If R says the immer data set is not found, you can try installing the package by issuing this command install.packages("MASS") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the immer R data set. The size of this file is about 589 bytes.

Yields from a Barley Field Trial


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.




This data frame contains the following columns:


The location.


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


Yield in 1931.


Yield in 1932.


Immer, F.R., Hayes, H.D. and LeRoy Powers (1934) Statistical determination of barley varietal adaptation. Journal of the American Society for Agronomy 26, 403–419.

Fisher, R.A. (1947) The Design of Experiments. 4th edition. Edinburgh: Oliver and Boyd.


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


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

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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-mass-immer.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-59958.csv 589 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.