twTStats | R Documentation |
For two way tables based on co-citations four different test statistics are reported, the odds ratio, the Concordance, the Jaccard index and Hubert's Gamma.
twTStats(twT)
twT |
A two way table, as produced by |
The entries in the presumed 2 by 2 table are labeled n11, n12, n21, n22, corresponding to the entries in the first row first column, first row second column etc. The odds ratio is the product of n11 and n22 divided by the product of n12 and n21. The Conordance is simply the n11 entry. The Jaccard index is the n11 entry divided by the sum of n11, n12, and n21. Hubert's Gamma is slightly more complicated.
Concordance |
The concordance statistic. |
Jaccard |
The Jaccard index. |
Hubert |
Hubert's Gamma |
OddsRatio |
The odds ratio. |
R. Gentleman
Testing Gene Associations Using Co-citation, by B. Ding and R. Gentleman. Bioconductor Technical Report, 2004
paperLen
, twowayTable
tw1 = twowayTable("10", "101", FALSE)
twTStats(tw1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.