[R] plot and validation in clustering
Matthias.Templ at statistik.gv.at
Tue Mar 21 07:08:58 CET 2006
> Hi there,
> I use function "kmeans" and "clara" to cluster one flow
> cytometry dataset. By using function "plot", the clusters got
> from "clara" can be graphed, while "kmeans" not. How can I
> get the plot of the clusters of "kmeans"?
a1 <- clara(xclara, 3)
a2 <- kmeans(xclara, 3)
You need the same components for your object as a partition.object (and
the same class).
I think this can be done, but it is a little bit of work.
> And, I hope to compare the two methods "kmeans" and "clara",
> or in other word, I want to validate the clustering methods.
> Which function in R could work on the validation?
> Thanks a lot!
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read
> the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help