R/spearmanCoefficient.R

Defines functions spearmanCoefficient

Documented in spearmanCoefficient

spearmanCoefficient <-
function(x, y) {

  r = abs(cor(x, y, method='spearman'))

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