valchisq {pgirmess}R Documentation

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)

Details

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

Value

A matrix with the chi-square values computed

Author(s)

Patrick Giraudoux <pgiraudo@univ-fcomte.fr

See Also

valat, chisq.test

Examples

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

[Package pgirmess version 1.3.8 Index]