[R] Kendall tau a, b, or c

David L Carlson dc@r|@on @end|ng |rom t@mu@edu
Fri Jun 15 15:31:55 CEST 2018

Also look at the DescTools package for functions KendallTauA, KendallTauB, StuartTauC().  

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

-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of Jeff Reichman
Sent: Thursday, June 14, 2018 4:19 PM
To: 'Marc Schwartz' <marc_schwartz using me.com>
Cc: 'R-help' <r-help using R-project.org>
Subject: Re: [R] Kendall tau a, b, or c


Thank you - that will save me some time.


-----Original Message-----
From: Marc Schwartz <marc_schwartz using me.com> 
Sent: Thursday, June 14, 2018 4:07 PM
To: JEFFERY REICHMAN <reichmanj using sbcglobal.net>
Cc: R-help <r-help using R-project.org>
Subject: Re: [R] Kendall tau a, b, or c

> On Jun 14, 2018, at 4:04 PM, JEFFERY REICHMAN <reichmanj using sbcglobal.net>
> r-help Forum
> Is there a function to calculate either Kendall tau a, b, or c.  It
appears the Kendall library only calculates tau b.  Just wanted to check
before writing a function to calculate the concordant and discordant pairs.
Then its pretty easy.
> jeff

Hi Jeff,

Take a look at my Github Gist here:


I have b and c (among other measures), and supporting functions to calculate
concordant and discordant pairs.


Marc Schwartz

R-help using 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