My impression is that varclus from the Hmisc library is very convenient to use when you want to get an idea of the correlation among predictor variables in a regression setting, but if you want to perform cluster analysis in general, you may be better off using a different function in R, such as hclust or kmeans. Darin
On Sun, Nov 07, 2010 at 11:00:00AM -0500, Lars Bishop wrote: > Hi, > > > > I'll apreciate your guidance on how can I re-create the output from SAS PROC > VARCLUS in R. I've found the varclus function in Hmisc. However, is it > possible to use that function to compute for each variable the 1-R**2 ratio > (this is the ratio of 1 minus the R-squared with Own Cluster to one minus > the R-squared in the Next Closest cluster)? > > > > Thanks in advance for any help, > > > > Lars. > > [[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. ______________________________________________ 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.