corr: Pearson's correlation

Description Usage Arguments Value Reference John D. Cook's article at https

View source: R/RcppExports.R

Description

Calculate the Pearson's correlation using the numerically stable formulation (see References). Internal function.

Usage

1
corr(x, y)

Arguments

x

First variable

y

Second variable

Value

Pearson's correlation

Reference John D. Cook's article at https

//www.johndcook.com/blog/2008/11/05/how-to-calculate-pearson-correlation-accurately/


ntthung/ldsr documentation built on Aug. 28, 2020, 2:34 a.m.