R Dataset / Package cluster / animals

Documentation

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

Description

This data set considers 6 binary attributes for 20 animals.

Usage

data(animals)

Format

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’.

Details

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

Source

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

References

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

Examples

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

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