View source: R/kendall_tau_b.r
tied_pairs | R Documentation |
Calculate the number of tied pairs in a contingency table, see Agresti 2010 pg 188. Txy is not calculated because it factors out of other calculations. This is used in the calculation of Kendall's tau-b
tied_pairs(contingency_table)
contingency_table |
2D Contingency table |
Named vector of the number of tied pairs Tx and Ty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.