powered by
compute chisq value for a 2 x 2 contingency table
contingency(inside, outside)
numeric vector of chisq.test() p.values
numeric vector of raw counts
con<-contingency(inside=c(4,5),outside=c(20,7))
Run the code above in your browser using DataLab