my.chisq.test2 | R Documentation |
Statistical test for categorical variables Statistical test for categorical variables
my.chisq.test2(x, y, catMethod = 2, all = FALSE)
x |
a vector |
y |
a vector |
catMethod |
An integer indicating methods for categorical variables. Possible values in methods are
Default value is 2. |
all |
A logical |
A numeric vector of length 1
library(moonBook)
x=acs$sex
y=acs$Dx
my.chisq.test2(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.