Learn R Programming

pgirmess (version 1.4.0)

valchisq: Values of the partial chi-square in each cell of a contingency table

Description

Computes the values of the partial chi-square in each cell of a contingency table

Usage

valchisq(matr)

Arguments

matr
a matrix (contingency table)

Value

  • A matrix with the chi-square values computed

Details

Computes the values of the chi-square in each cell of a contingency table

See Also

valat, chisq.test

Examples

Run this code
x <- matrix(c(12, 5, 7, 7), nc = 2)
x
valchisq(x)

Run the code above in your browser using DataLab