ktau {shuffleCI}R Documentation

Kendall's tau

Description

Calculates Kendall's tau distance

Usage

ktau(list)

Arguments

list

A list of numbers

Details

Returns the Kendall's tau distance between the input list and the sorted list 1,2,..n.

Value

The Kendall's tau distance.

Author(s)

Kyle Caudle

References

Kendall, M. G. (1938). A new measure of rank correlation. Biometrika, 30(1/2), 81-93.

Examples

ktau(c(1,4,2,5,6,3,7))

[Package shuffleCI version 0.1.0 Index]