linear_by_linear_test_rxc {contingencytables}R Documentation

The linear-by-linear test for association

Description

The linear-by-linear test for association

Described in Chapter 7 "The rxc Table"

Usage

linear_by_linear_test_rxc(n, a = seq_len(ncol(n)), b = seq_len(nrow(n)))

Arguments

n

the observed table (an rxc matrix)

a

scores assigned to the rows

b

scores assigned to the columns

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

linear_by_linear_test_rxc(table_7.7)
linear_by_linear_test_rxc(table_7.8)
linear_by_linear_test_rxc(table_7.9)

[Package contingencytables version 3.0.0 Index]