[R] the number of cluster

2005-03-18 Thread XP Sun
hi, all, how to decide the number of cluster before you use kmeans and hclust? thank you in advance! best -xpsun __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] how to draw the data set processed by hclust?

2005-03-13 Thread XP Sun
hi, all i hava a dataset formated as follow: x1 y1 z1 x2 y2 z2 x3 y3 z3 ... how to cluster it with hclust? and the draw the data with color of cluster? thank you in advance! best! xpsun

[R] cl$cluster of kmeans

2005-03-07 Thread XP Sun
$cluster, file = m0028.ks, ascii = TRUE) : Object cl$cluster not found when i wanted to save the vector of cluster only, a reflection was thrown out as that. could i save cl$cluster only? how? thank you in advance. best, xp sun

[R] How to use a matrix in pcurve?

2004-10-24 Thread XP Sun
Hi, Everyone, I want to calculate the principal curve of a points set. First I read the points'coordinate with function scan, then converted it to matrix with the function matrix, and fit the curve with function principal.curve. Here is my data in the file bmn007.data: 0.023603