Learn R Programming

evidence (version 0.8.10)

CTA: 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

References

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

See Also

Bft2x2

Examples

Run this code
# NOT RUN {
data(Smoking)
CTA(Smoking)
# }

Run the code above in your browser using DataLab