Learn R Programming

contingencytables (version 3.1.0)

Exact_cond_midP_linear_rank_tests_2xc: Exact conditional and mid-P linear rank tests

Description

Exact conditional and mid-P linear rank tests

Described in Chapter 6 "The Ordered 2xc Table"

Usage

Exact_cond_midP_linear_rank_tests_2xc(n, b = 0)

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.

Arguments

n

the observed table (a 2xc matrix)

b

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

Examples

Run this code
Exact_cond_midP_linear_rank_tests_2xc(lydersen_2012a)
if (FALSE) Exact_cond_midP_linear_rank_tests_2xc(fontanella_2008)

Run the code above in your browser using DataLab