Dear Friends,

require(cluster)
x <- rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)),  
cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5)))
plot(pp <- pam(x, 2), which.plots = 1)

How can I extract the coordinates used in the plot?

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
Postal Address:
        P.O.Box 400400, Charlottesville, VA 22904-4400
Express Parcels Address:
        Gilmer Hall, Room 102, McCormick Road, Charlottesville, VA 22903
Office:    B011;                Phone: +1-434-982-4729
Lab:        B019;               Phone: +1-434-982-4751
WWW:    http://www.people.virginia.edu/~mk9y/
Skype name: polyurinsane





        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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