Exact conditional and mid-P linear rank tests

Described in Chapter 6 "The Ordered 2xc Table"

Exact_cond_midP_linear_rank_tests_2xc(n, b = 0)

Arguments

n

the observed table (a 2xc matrix)

b

scores assigned to the columns (if b=0, midranks will be used as scores)

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.

Examples

Exact_cond_midP_linear_rank_tests_2xc(lydersen_2012a)
#> Exact cond. linear rank test: P = 0.14950
#> Mid-P linear rank test:   mid-P = 0.14439
if (FALSE) Exact_cond_midP_linear_rank_tests_2xc(fontanella_2008) # \dontrun{}