kendall: Compute kendall's tau between two rankings

Description Usage Arguments Value

View source: R/rankings_comparison.R

Description

Compares two rankingDE by computing their kendall's tau from package VGAM.

Usage

1
2
kendall(ranking1, ranking2, nmax = min(dim(ranking.df(ranking1))[1],
  dim(ranking.df(ranking2))[1]))

Arguments

ranking1

a first rankingDE object.

ranking2

a second rankingDE object.

nmax

integer, design the last elemtns where to stop the comparison (default is the minimum length of the two rankings).

@details Kendall's tau is basically the number of permutation between the ranks of the elements of two rankings : tau = ((number of concordant pairs) - (number of discordant pairs))/N

Value

returns Kendall's tau.


strayMat/lineageDE documentation built on May 30, 2019, 8:18 a.m.