Subject: XploRe Application Guide
See XploRe:

Quantlet: clust14
Description: clusters with the hard-c-means method for the butterfly data
Download: clust14.xpl

Code:
library("xclust")
z=read("butterfly.dat")
x=z[,2:3]
c=2
m=1
e=0.001
hcm=xchcme(x,c,m,e)         ; apply hard-c-means clustering
hcm.clus
d=createdisplay(1,1)
setmaskp(x,hcm.clus,hcm.clus+2,7)
show(d,1,1,x)
title="Hard-c-means for Butterfly Data"
setgopt(d,1,1,"title", title)  

Subject: XploRe Application Guide
See XploRe:

© MD*Tech - Method and Data Technologies, generated on 19.7.2000 .