MantelHaenszel_test_2xc: The Mantel-Haenszel test of association with column scores

View source: R/MantelHaenszel_test_2xc.R

MantelHaenszel_test_2xcR 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)

ocbe-uio/contingencytables documentation built on Aug. 30, 2024, 7:16 a.m.