linear_by_linear_test_rxc: The linear-by-linear test for association

View source: R/linear_by_linear_test_rxc.R

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

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