Learn R Programming

fclust (version 1.0.1)

synt.data: Synthetic data

Description

Synthetic dataset with 2 non-spherical clusters.

Usage

data(synt.data)

Arguments

format

A matrix with 302 rows and 2 columns.

Details

Although two clusters are clearly visible, FKM fails to discover them. The Gustafson - Kessel variant of FKM should be used for finding the known-in-advance clusters.

Examples

Run this code
data(synt.data)
plot(synt.data)
cor(synt.data)
syntFKM=FKM(synt.data)
syntFKM.gk=FKM.gk(synt.data)
par(mfcol = c(2,1))
plot(synt.data,col=syntFKM$clus[,1])
plot(synt.data,col=syntFKM.gk$clus[,1])

Run the code above in your browser using DataLab