MantelHaenszel_test_2xc {contingencytables}R Documentation

The Mantel-Haenszel test of association with column scores

Description

The Mantel-Haenszel test of association with column scores

Described in Chapter 6 "The Ordered 2xc Table"

Usage

MantelHaenszel_test_2xc(n, b = 0)

Arguments

n

the observed counts (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

MantelHaenszel_test_2xc(lydersen_2012a)

[Package contingencytables version 3.0.0 Index]