Learn R Programming

cluster (version 1.3-2)

animals: Attributes of Animals

Description

This data set considers 6 binary attributes for 20 animals.

Usage

data(animals)

Arguments

format

A data frame with 20 observations on 6 variables: rll{ [ , 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'.

source

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

Details

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

References

Anja Struyf, Mia Hubert & Peter J. Rousseeuw (1996): Clustering in an Object-Oriented Environment. Journal of Statistical Software, 1. http://www.stat.ucla.edu/journals/jss/

Examples

Run this code
data(animals)
ma <- mona(animals)
ma
## Plot similar to Figure 10 in Struyf et al (1996)
plot(ma)

Run the code above in your browser using DataLab