[R] Pearson's correlation coefficient?

Matej Cepl matej at ceplovi.cz
Thu Nov 21 14:40:19 CET 2002


ripley at stats.ox.ac.uk wrote:
> or just cor(x, y).

Thanks, that's it.

> > > 	sqrt(summary(lm(y~x))$r.squared)?
> 
> That's lost the sign, BTW.

You are right, of course.

Matej

-- 
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The main idea of the pope's asking for forgivness was not to be
afraid of the truth. DO NOT BE AFRAID OF TRUTH! We have to have
faith in the God's governing power to be able not to be afraid.
    -- On NPR The Connection from March 13, 2000

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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