R Dataset / Package MASS / farms


On this Picostat.com statistics page, you will find information about the farms data set which pertains to Ecological Factors in Farm Management. The farms data set is found in the MASS R package. You can load the farms data set in R by issuing the following command at the console data("farms"). This will load the data into a variable called farms. If R says the farms 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 farms R data set. The size of this file is about 430 bytes.

Ecological Factors in Farm Management


The farms data frame has 20 rows and 4 columns. The rows are farms on the Dutch island of Terschelling and the columns are factors describing the management of grassland.




This data frame contains the following columns:


Five levels of soil moisture – level 3 does not occur at these 20 farms.


Grassland management type (SF = standard, BF = biological, HF = hobby farming, NM = nature conservation).


Grassland use (U1 = hay production, U2 = intermediate, U3 = grazing).


Manure usage – classes C0 to C4.


J.C. Gower and D.J. Hand (1996) Biplots. Chapman & Hall, Table 4.6.

Quoted as from:
R.H.G. Jongman, C.J.F. ter Braak and O.F.R. van Tongeren (1987) Data Analysis in Community and Landscape Ecology. PUDOC, Wageningen.


Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.


farms.mca <- mca(farms, abbrev = TRUE)  # Use levels as names
eqscplot(farms.mca$cs, type = "n")
text(farms.mca$rs, cex = 0.7)
text(farms.mca$cs, labels = dimnames(farms.mca$cs)[[1]], cex = 0.7)

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

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-19765.csv 430 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0