View source: R/nonparam_interpret.R
| kruskal_interpret | R Documentation |
Kruskal-Wallis Test with Plain-English Interpretation
kruskal_interpret(formula, data, conf.level = 0.95)
formula |
A formula of the form outcome ~ group |
data |
A data frame containing the variables |
conf.level |
Confidence level. Default 0.95. |
An object of class statease_kruskal containing
test results and interpretation. Use print() to display
the formatted report.
df <- data.frame(
score = c(23,45,12,67,34,89,56,43,78,90,11,34),
group = rep(c("A","B","C"), each = 4)
)
result <- kruskal_interpret(score ~ group, data = df)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.