[R] Linear regression equation and coefficient matrix
jwiley.psych at gmail.com
Wed Aug 18 16:21:11 CEST 2010
On Wed, Aug 18, 2010 at 6:09 AM, ashz <ashz at walla.co.il> wrote:
> I have 20*60 data matrix (with some NAs) and I wish to perfom a Pearson
> correlation coefficient matrix as well as simple linear regression equation
The correlation matrix can be readily obtained by calling cor() on the
> and coefficient of determination (R2) for every possible combination. Any
> tip/idea/library/script how do to so.
So you have 60 variables, and you want every possible combination? I
may be mistaken, but isn't that 60! if you ignore any interactions?
If so, this strikes me as a job for
> As hz
> View this message in context: http://r.789695.n4.nabble.com/Linear-regression-equation-and-coefficient-matrix-tp2329804p2329804.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
University of California, Los Angeles
More information about the R-help