contingency {SherlockHolmes} | R Documentation |
compute chisq value for a 2 x 2 contingency table
contingency(inside, outside)
inside |
numeric vector of raw counts |
outside |
numeric vector of raw counts |
numeric vector of chisq.test() p.values
con<-contingency(inside=c(4,5),outside=c(20,7))