Dear R users,
Just wondering how to extract clustered data in a file.
More precisely after running any clustering algorithms, you get information
about the clusterd vectors.
I want to save that data after clustering is done in the same order as the
clusters are produced. How can I do that
After runining algorithms you get information which vectors are clustered.
for example, after running pam you can see vector 3,6,9 ..., 8 are forms
cluster 1 and rest of the data forms cluster 2.
Now instead of just getting index 3,4,...9 etx how can I actually get this
data in the same order as below

Silhouette plot information:
   cluster neighbor sil_width
3        1        2 0.8845423
6        1        2 0.8828709
9        1        2 0.8778533
1        1        2 0.8697712
10       1        2 0.8641114
2        1        2 0.8530604
5        1        2 0.8109133
7        1        2 0.8107987
4        1        2 0.8064146
8        1        2 0.7863462
20       2        1 0.8978067
23       2        1 0.8931901
11       2        1 0.8857036
17       2        1 0.8852931
21       2        1 0.8827456
22       2        1 0.8802782
24       2        1 0.8797402
25       2        1 0.8787834
18       2        1 0.8560038
16       2        1 0.8457547
14       2        1 0.8408603
19       2        1 0.8400471
13       2        1 0.8232094
12       2        1 0.8132883
15       2        1 0.8018431

thank you

Ravi

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to