Exact_cond_midP_tests_rxc {contingencytables} | R Documentation |
Exact conditional and mid-P tests for the rxc table
Description
Exact conditional and mid-P tests for the rxc table: the Fisher-Freeman-Halton, Pearson, likelihood ratio, Kruskal-Wallis, linear-by-linear, and Jonckheere-Terpstra tests.
Described in Chapter 7 "The rxc Table"
Usage
Exact_cond_midP_tests_rxc(n)
Arguments
n |
the observed counts (an rxc matrix) |
Value
An object of the contingencytables_result class,
basically a subclass of base::list()
. Use the utils::str()
function
to see the specific elements returned.
Note
Works only for 3x2 and 3x3 tables
Examples
Exact_cond_midP_tests_rxc(table_7.3) # a 3x2 table
## Not run:
Exact_cond_midP_tests_rxc(table_7.6) # a 3x3 table
## End(Not run)
[Package contingencytables version 3.0.0 Index]