Learn R Programming

cluster (version 1.3-2)

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.

source

E. H. Ruspini (1970): Numerical methods for fuzzy clustering. Inform. Sci., 2, 319--350.

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(ruspini)

## Plot similar to Figure 4 in Stryuf et al (1996)
plot(pam(ruspini, 4), ask = TRUE)
<testonly>plot(pam(ruspini, 4))</testonly>

## Plot similar to Figure 6 in Stryuf et al (1996)
plot(fanny(ruspini, 5))

Run the code above in your browser using DataLab