Description Usage Arguments Value Examples
View source: R/CtsHypothesisTests.R
show results of a chi-square test visually using chisq.test
1 2 3 4 5 6 7 8 |
x |
a numeric vector or matrix. x and can also be factors |
y |
a numeric vector |
p |
a vector of proabilities the same length as x. Used for goodness-of-fit tests. Must be a valid distribution |
simulate.p.value |
boolean, if TRUE use simulation to estimate p-value |
nreps |
if simulate.p.value = TRUE number of simulations to complete |
verbose |
level of visual output, 0 = silent |
results of chisq.test call
1 | showChiSq.Test(x = c(1,2,1), y= c(1,2,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.