animals

0th

Percentile

Attributes of Animals

This data set considers 6 binary attributes for 20 animals.

Keywords
datasets
Usage
data(animals)
Details

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

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

References

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

Aliases
  • animals
Examples
# NOT RUN {
data(animals)
apply(animals,2, table) # simple overview

ma <- mona(animals)
ma
## Plot similar to Figure 10 in Struyf et al (1996)
plot(ma)
# }
Documentation reproduced from package cluster, version 2.0.7-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.