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.
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.
Returns
none provided: the function is run for its graphical and numerical output
References
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.