Re: [R] Partition data into clusters

2008-03-24 Thread Suhaila Zainudin
Hi, Just to inform you that I found the solution for the write.csv task I mentioned earlier. Searching thru the r-help leads me to this solution.. ###Your soln starts xx <- max(cl2$cl.kmr10.cluster) # find out how many clusters there are. my.clusters <- list(NULL) # set up an empty list for st

Re: [R] Partition data into clusters

2008-03-24 Thread Suhaila Zainudin
Hi, Thanks for your reply. I have tried yr suggestions with success. TQVM. I have another query, say I want to write each cluster into a csv file such as follows: clus1 <- my.clusters[[1]] write.csv(clus1, file = "clus1.csv") . . clus10 <- my.clusters[[10]] write.csv(clus10,file = "

Re: [R] Partition data into clusters

2008-03-19 Thread John Kane
Can you supply a small self-contained example of this? --- Suhaila Zainudin <[EMAIL PROTECTED]> wrote: > Greetings R-users, > > I have been using the fpc package in R to cluster my > data. Speficically I am > using kmeansruns clustering. > I would like to know how I use R to partition data > into