kendall: Compute kendall's tau between two rankings

Description Usage Arguments Value

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/warpDE documentation built on June 1, 2019, 12:51 a.m.