Hi, I would like to identify a few points on a clusplot generated from a
fanny clustering.

The manpage for clusplot indicates that setting labels=5 allows me to
identify the points. However I only need to identify a subset.

I tried setting the 'Labels' attribute of my data matrix (23 rows) as:

> rownames(desc) <- NULL
> attr(desc, 'Labels') <- l # l is a vector with the labels
> attr(desc, 'Labels')
 [1] "27"  ""    ""    ""    ""    ""    "43"  ""    ""    ""    ""    "48"
[13] ""    ""    ""    ""    ""    ""    ""    ""    "169" "172" "177"
> clus <- fanny(desc, k=2)
> clusplot(clus, color=TRUE, lines=0, labels=5)

However, when I select points it use 1,2,3 ... 23 rather than the values
from the 'Label's attribute. Furthermore it forces me to select all the
points on the plot.

Is there a way to identify a subset of points on a clusplot, rather than
all the points?

Thanks,

-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
A mathematician is a device for turning coffee into theorems.
-- P. Erdos

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to