On Tue, Mar 1, 2011 at 11:41 AM, JoonGi <joo...@hanmail.net> wrote: > > Thanks in advance. > > I want to derive correlations of variables in a dataset > > Specifically > > library(Ecdat) > data(Housing) > attach(Housing) > cor(lotsize, bathrooms) > > this code results only the correlationship between two variables. > But I want to examine all the combinations of variables in this dataset. > And I will finally make a table in Latex. > > How can I test correlations for all combinations of variables? > with one simple command? > See Rcmdr for an example. Liviu
> > -- > View this message in context: > http://r.789695.n4.nabble.com/Is-there-any-Command-showing-correlation-of-all-variables-in-a-dataset-tp3329599p3329599.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. > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail ______________________________________________ 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.