[R] Kendall tau a, b, or c

JEFFERY REICHMAN re|chm@nj @end|ng |rom @bcg|ob@|@net
Fri Jun 15 18:07:13 CEST 2018


Dr. Carlson

Yes, just became aware of the DescTools library after working off Marcs R Code last night. Oh well now I have two options. 

Thanks

Jeff
--------------------------------------------
On Fri, 6/15/18, David L Carlson <dcarlson using tamu.edu> wrote:

 Subject: RE: [R] Kendall tau a, b, or c
 To: "reichmanj using sbcglobal.net" <reichmanj using sbcglobal.net>, "'Marc Schwartz'" <marc_schwartz using me.com>
 Cc: "'R-help'" <r-help using R-project.org>
 Date: Friday, June 15, 2018, 8:31 AM

 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

 Marc

 Thank you - that will save me some time.

 Jeff

 -----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>
 wrote:
 > 
 > 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:

  https://gist.github.com/marcschwartz/3665743

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

 Regards,

 Marc Schwartz

 ______________________________________________
 R-help using r-project.org
 mailing list -- To UNSUBSCRIBE and more, see
 https://stat.ethz.ch/mailman/listinfo/r-help
 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