View source: R/chisq_interpret.R
| chisq_interpret | R Documentation |
Chi-Square Test with Plain-English Interpretation
chisq_interpret(x, y, correct = TRUE, conf.level = 0.95)
x |
A factor or character vector (first categorical variable) |
y |
A factor or character vector (second categorical variable) |
correct |
Logical. Apply Yates continuity correction. Default TRUE. |
conf.level |
Confidence level. Default 0.95. |
An object of class statease_chisq containing test
results and interpretation. Use print() to display the
formatted report.
x <- c("Yes","No","Yes","Yes","No","Yes","No","No","Yes","Yes")
y <- c("Male","Female","Male","Female","Male","Female","Male","Female","Male","Female")
result <- chisq_interpret(x, y)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.