corr {ldsr} | R Documentation |
Calculate the Pearson's correlation using the numerically stable formulation (see References). Internal function.
corr(x, y)
x |
First variable |
y |
Second variable |
Pearson's correlation
//www.johndcook.com/blog/2008/11/05/how-to-calculate-pearson-correlation-accurately/