R Dataset / Package cluster / agriculture

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 with the library() command. 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

Description

Gross National Product (GNP) per capita and percentage of the population working in agriculture for each country belonging to the European Union in 1993.

Usage

data(agriculture)

Format

A data frame with 12 observations on 2 variables:

R project statistics dataset table
[ , 1] x numeric per capita GNP
[ , 2] y numeric percentage in agriculture

The row names of the data frame indicate the countries.

Details

The data seem to show two clusters, the “more agricultural” one consisting of Greece, Portugal, Spain, and Ireland.

Source

Eurostat (European Statistical Agency, 1994): Cijfers en feiten: Een statistisch portret van de Europese Unie.

References

see those in agnes.

See Also

agnes, daisy, diana.

Examples

data(agriculture)## Compute the dissimilarities using Euclidean metric and without
## standardization
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.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-cluster-agriculture.html" width="100%" height="100%" style="border:0px"></iframe>