R/pearsonCoefficient.R

Defines functions pearsonCoefficient

Documented in pearsonCoefficient

pearsonCoefficient <-
function(x, y) {
  
  r = abs(cor(x, y, method='pearson'))

  return(r)
}
juscelino-izidoro/supcavs documentation built on Jan. 2, 2022, 7:49 a.m.