powered by
Computes the values of the partial chi-square in each cell of a contingency table
valchisq(matr)
a matrix (contingency table)
A matrix with the chi-square values computed
Computes the values of the chi-square in each cell of a contingency table
valat, chisq.test
# NOT RUN { x <- matrix(c(12, 5, 7, 7), nc = 2) x valchisq(x) # }
Run the code above in your browser using DataLab