[R] kendall tau distance

David L Carlson dcarlson at tamu.edu
Fri Sep 11 17:37:19 CEST 2015

The Wikipedia article gives a simple formula based on the number of discordant pairs. You can get that from the ConDisPairs() function in package DescTools.

David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ragia Ibrahim
Sent: Thursday, September 10, 2015 12:40 PM
To: r-help at r-project.org
Subject: [R] kendall tau distance

Dear group
how to calculate  kendall tau distance according to  Kendall_tau_distance at wikipedia

 <a href="https://en.wikipedia.org/wiki/Kendall_tau_distance" target="_blank" class="newlyinsertedlink">https://en.wikipedia.org/wiki/Kendall_tau_distance</a> 

thanks in advance
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list