Do a search for "multidimensional scaling" and that should give some ideas (use 1-cor or something like that as the distance measure).
Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of weijian21cn > Sent: Wednesday, August 18, 2010 3:47 PM > To: r-help@r-project.org > Subject: Re: [R] How to measure correlations in terms of distance and > draw them on a 2-dimmentional plot? > > > Probably I put it too complicated. > > I just try to draw 10 points on a plot. Each point stand for one > variable. > If two variables are highly correlated, the corresponding dots are to > be > drawn closer. Say, variable X1, X2, X3, are highly correlated among > them, so > they will be clustered; variables X4, X5, X6 are not much correlated > with > X1,X2, X3, so X4-X5 are drawn far away from X1-X3. > > In addition, if corr(X1, X2) > corr(X2,X3), the plot can show > distance(X1, > X2) < distance(X2, x3). > > Do you know if R has such a package? Or I may use some plot function > from > cluster analysis? > > Thank you! > > Weijian > -- > View this message in context: http://r.789695.n4.nabble.com/How-to- > measure-correlations-in-terms-of-distance-and-draw-them-on-a-2- > dimmentional-plot-tp2330413p2330442.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.