spearmanRhoFromRanks: Compute Spearman rho from ranks

Description Usage Arguments

Description

Compute Spearman rho from ranks. Use this function when comparing two vectors for which the ranks are already known. E.g. avoid recomputing the ranks over and over when performing multiple comparisons. Unlike in cor.test(x, y), this function calculates only the rho value and does not bother with the p-value.

Usage

1
spearmanRhoFromRanks(xranks, yranks)

Arguments

xranks

vector of ranks

yranks

vector of ranks.


tkonopka/Rpipelines documentation built on May 31, 2019, 3:46 p.m.