stableclus {FactoClass} | R Documentation |
It performs stable clusters from several partitions from K-means changing the initial points. It uses the coordinates of an previous principal axes method
stableclus(dudi,part=2,k.clust=2,ff.clus=NULL,bplot=TRUE,kmns=FALSE)
dudi |
object of type dudi |
part |
the number of partitions to obtain |
k.clust |
the number of clusters each partition |
ff.clus |
the number of ended clusters, if is NULL (default), it asks in the console the values ff.clus |
bplot |
if is TRUE, the barplot of the stable clusters is ploted |
kmns |
when hmns =TRUE, a kmeansW is performed with argument centers equal to the centroids of the stable classes retained |
Lebart, L. and Morineau, A. and Piron, M. (1995) Statisitique exploratoire multidimensionnelle, Paris.
list with:
class |
vector indicating the cluster of each element |
stacl |
vector containing the stable clusters in descending order |
Carlos Andres Arias caariasr@unal.edu.co>, Campo Elias Pardo cepardot@unal.edu.co, Diana Carolina Zarate dczarated@unal.edu.co
data(BreedsDogs) acm <- dudi.acm(BreedsDogs[,-7],scannf = FALSE,nf=10) stableclus(acm,2,3,4)