On this R-data statistics page, you will find information about the agriculture data set which pertains to European Union Agricultural Workforces. The agriculture data set is found in the cluster R package. You can load the agriculture data set in R by issuing the following command at the console data("agriculture"). This will load the data into a variable called agriculture. If R says the agriculture data set is not found, you can try installing the package by issuing this command install.packages("cluster") 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 agriculture R data set. The size of this file is about 140 bytes.
European Union Agricultural Workforces
Gross National Product (GNP) per capita and percentage of the population working in agriculture for each country belonging to the European Union in 1993.
A data frame with 12 observations on 2 variables:
R project statistics dataset table
|[ , 1]
||per capita GNP
|[ , 2]
||percentage in agriculture
The row names of the data frame indicate the countries.
The data seem to show two clusters, the “more agricultural” one consisting of Greece, Portugal, Spain, and Ireland.
Eurostat (European Statistical Agency, 1994): Cijfers en feiten: Een statistisch portret van de Europese Unie.
see those in
data(agriculture)## Compute the dissimilarities using Euclidean metric and without
daisy(agriculture, metric = "euclidean", stand = FALSE)## 2nd plot is similar to Figure 3 in Struyf et al (1996)
plot(pam(agriculture, 2))## Plot similar to Figure 7 in Struyf et al (1996)
## Not run: plot(agnes(agriculture), ask = TRUE)
## Plot similar to Figure 8 in Struyf et al (1996)
## Not run: plot(diana(agriculture), ask = TRUE)
Dataset imported from https://www.r-project.org.