Re: [R] clusplot() and fviz_cluster() functions

2019-11-04 Thread Sarah Goslee
The orientation of a principal components axis is entirely arbitrary, and can vary with implementation. It doesn't matter at all. Your code was hugely mangled by posting in HTML - see below. Sarah On Mon, Nov 4, 2019 at 12:33 PM Marco Besozzi wrote: > > Can't understand why with clusplot() and

[R] clusplot() and fviz_cluster() functions

2019-11-04 Thread Marco Besozzi
Can't understand why with clusplot() and fviz_cluster() functions I obtain two x-axis mirror graphs. That's the code... *mydata <- USArrests* *z <- scale(mydata)## clustering MacQueen (k-means )#fit <- kmeans(z, 4, algorithm = c("MacQueen"),

[R] clusplot() for all used variables - not only for 2 principal components?

2012-04-23 Thread greatest.possible.newbie
Hi there, To see the results of my clustering graphically I was using clusplot. But it only provides a look at the two most important components of the dataset. I recently found the Mclust() function which produces very nice colored pair plots for the clustered dataset. see Graph:

[R] Clusplot axes

2011-09-23 Thread Chloe Strevens
I am a relative novice with R and am having some difficulty using 'clusplot' (package Cluster). I have performed PCA analysis (using vegan) on a large set of morphometric measurements and revealed up to 4 principal components. To examine the grouping of the data I have used PAM followed by

[R] ??clusplot

2007-10-03 Thread Haiyong Xu
Hi there, I want to do classify some 2-dimensional points into four clusters by pam() in the cluster package. However, I encountered some problems. 1. How can I change the xlab and ylab instead of the default Component 1 and Component 2? When I put xlab option in the function, it always