twTStats: Computes 3 two way table statistics.

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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.

Usage

1
twTStats(twT)

Arguments

twT

A two way table, as produced by twowayTable.

Details

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.

Value

Concordance

The concordance statistic.

Jaccard

The Jaccard index.

Hubert

Hubert's Gamma

OddsRatio

The odds ratio.

Author(s)

R. Gentleman

References

Testing Gene Associations Using Co-citation, by B. Ding and R. Gentleman. Bioconductor Technical Report, 2004

See Also

paperLen, twowayTable

Examples

1
2
  tw1 = twowayTable("10", "101", FALSE)
  twTStats(tw1)

CoCiteStats documentation built on Nov. 8, 2020, 6:55 p.m.