Re: [R] how to compute uncentered (pearson correlation) correlation efficiently

2008-03-08 Thread David Winsemius
"Ng Stanley" <[EMAIL PROTECTED]> wrote:: > Seeking suggestions to compute uncentered (pearson correlation) > correlation efficiently. > > corr from stats library works on x and y columns. dist from amap > library works on x and y rows. > > My data layout is slightly different such that row(i)

[R] how to compute uncentered (pearson correlation) correlation efficiently

2008-03-07 Thread Ng Stanley
Hi, Seeking suggestions to compute uncentered (pearson correlation) correlation efficiently. corr from stats library works on x and y columns. dist from amap library works on x and y rows. My data layout is slightly different such that row(i) of matrix x is compared to row(i) of matrix y. Than