valchisq {pgirmess} | R Documentation |
Computes the values of the partial chi-square in each cell of a contingency table
valchisq(matr)
matr |
a matrix (contingency table) |
Computes the values of the chi-square in each cell of a contingency table
A matrix with the chi-square values computed
Patrick Giraudoux <pgiraudo@univ-fcomte.fr
valat, chisq.test
x <- matrix(c(12, 5, 7, 7), nc = 2) x valchisq(x)