testCategoricalVariableFreq | R Documentation |
Categorical variable test
testCategoricalVariableFreq(
sample1,
sample2,
s1.name = "Sample1",
s2.name = "Sample2",
f = "chisq.test"
)
f |
Default chisq.test, can be fisher.test |
g1 = sample(c("Amp","N","Del"), 10, replace = T)
g2 = c( sample(c("Amp","N","Del"), 15, replace = T), sample(c("Del"), 5, replace = T) )
res = loonR::testCategoricalVariableFreq(g1, g2)
res$P
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.