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/


ldsr documentation built on May 4, 2020, 5:06 p.m.