R Dataset / Package cluster / animals


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

Attributes of Animals


This data set considers 6 binary attributes for 20 animals.




A data frame with 20 observations on 6 variables:

[ , 1] war warm-blooded
[ , 2] fly can fly
[ , 3] ver vertebrate
[ , 4] end endangered
[ , 5] gro live in groups
[ , 6] hai have hair

All variables are encoded as 1 = ‘no’, 2 = ‘yes’.


This dataset is useful for illustrating monothetic (only a single variable is used for each split) hierarchical clustering.


Leonard Kaufman and Peter J. Rousseeuw (1990): Finding Groups in Data (pp 297ff). New York: Wiley.


see Struyf, Hubert & Rousseeuw (1996), in agnes.


apply(animals,2, table) # simple overviewma <- mona(animals)
## Plot similar to Figure 10 in Struyf et al (1996)

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-65725.csv 361 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0