Hi,

Thanks, the cor() works.

Regarding the simple linear regression equation (mainly, the slope
parameter) and r2. I think I was not writing it well. I need to do it just
for the columns. If I have a, b, c, d columns I wish to compute the relation
of there data,  e.g., between a-b, a-c, a-d, b-a, b-c, b-d, etc. 

I hope it is clear now and an help will be great.

Thanks.

-- 
View this message in context: 
http://r.789695.n4.nabble.com/Linear-regression-equation-and-coefficient-matrix-tp2329804p2329948.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.

Reply via email to