CTA {evidence} | R Documentation |
Contingency Table Analysis in different ways
Description
An n x n contingency table is analyzed in frequentist, information-theoretical, likelihood, and Bayesian ways. Note that for the Bayesian analysis package LearnBayes needs to be installed.
Usage
CTA(X, extBayes = FALSE)
Arguments
X |
a matrix with non-negative integers representing the counts for the row-column levels |
extBayes |
should a Bayesian analysis with a near-independence prior (instead of only an independence prior) be done as well? Defaults to FALSE. |
Value
none provided: the function is run for its graphical and numerical output
Author(s)
Robert van Hulst
References
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
See Also
Examples
data(Smoking)
CTA(Smoking)
[Package evidence version 0.8.10 Index]