[R] multiple correlation?

Bill Oliver wloliver at qwest.net
Thu Aug 23 11:00:45 CEST 2001


----- Original Message -----
From: "Pesl Thomas" <thomas.pesl at arcs.ac.at

> I'm looking for a function for the 'multiple correlation' but can not
figure
> out what it is called in R by using the html search function. Maybe it is
> called in another way in english? I only know the german term?
> Can anyone help me?
>
> Thomas Pesl

Here is one way you could do it.

data(longley)
mod <- lm(GNP.deflator~GNP+Employed,data=longley)
sqrt(summary(mod)$r.squared)

-Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list