contingency | 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.