Re: [R] Extracting coordinates for cluster::clusplot()

2009-01-31 Thread Mark Difford
Dear Friends, How can I extract the coordinates used in the plot? They are not made available. You can get them as follows: x - rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)), cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5))) pp - pam(x, 2) ## The coordinates are in obj$scores

[R] Extracting coordinates for cluster::clusplot()

2009-01-30 Thread Michael Kubovy
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