Learn R Programming

contingencytables (version 3.1.0)

Pearson_residuals_rxc: The Pearson residuals and the standardized Pearson residuals

Description

The Pearson residuals and the standardized Pearson residuals

Described in Chapter 7 "The rxc Table"

Usage

Pearson_residuals_rxc(n)

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 counts (an rxc matrix)

Examples

Run this code
## Treatment for ear infection (van Balen et al., 2003):
Pearson_residuals_rxc(table_7.3)

## Psychiatric diagnoses vs PA (Mangerud et al., 2004):
Pearson_residuals_rxc(table_7.4)

## Psychiatric diag. vs BMI (Mangerud et al., 2004):
Pearson_residuals_rxc(table_7.5)

Run the code above in your browser using DataLab