[R] How to use 'prcomp' with CLUSPLOT?
R. Michael Weylandt
michael.weylandt at gmail.com
Mon Nov 7 15:19:36 CET 2011
Happy to look at it further, but I don't have access to
"fitnw$cluster" so i can't run clusplot, modified or unmodified.
If you would, create a test data set using dput() for all the needed objects.
Michael
On Fri, Nov 4, 2011 at 6:18 PM, jo <jfrabetti at sdsc.edu> wrote:
> Hello Michael,
>
> Thank you for replying to my post! That was an interesting solution - good
> to know, but I am now getting a different error:
> /Error in if (length(clus) != n) stop("The clustering vector is of incorrect
> length") :
> argument is of length zero/
> which brought me here:
> https://svn.r-project.org/R-packages/trunk/cluster/R/plotpart.q
> I am trying to figure that out now...
>
> FYI, as a test set, one could just delete columns until they are <= to the
> number of rows...
>
> clusplot has some nice extras, but I am also looking at just plotting
> w/pca...
>
>
> Thank you again,
> Jo
>
> --
> View this message in context: http://r.789695.n4.nabble.com/How-to-use-prcomp-with-CLUSPLOT-tp3989022p3991868.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list