Learn R Programming

cluster (version 2.0.7-1)

ruspini: Ruspini Data

Description

The Ruspini data set, consisting of 75 points in four groups that is popular for illustrating clustering techniques.

Usage

data(ruspini)

Arguments

Format

A data frame with 75 observations on 2 variables giving the x and y coordinates of the points, respectively.

References

see those in agnes.

Examples

Run this code
# NOT RUN {
data(ruspini)

## Plot similar to Figure 4 in Stryuf et al (1996)
# }
# NOT RUN {
plot(pam(ruspini, 4), ask = TRUE)
# }
# NOT RUN {
## Plot similar to Figure 6 in Stryuf et al (1996)
plot(fanny(ruspini, 5))
# }

Run the code above in your browser using DataLab