Kruskal-Wallis Rank Sum Test

#| label = "GetRStatixPkg"
library(rstatix)
#| label = "{{DataName}}.kt"
{{DataName}}.kt = {{DataName}} |> kruskal_test({{ResponseName}} ~ {{FactorName}})
{{DataName}}.kt |> kable(caption="Kruskal-Wallace nonparametric one-way test for differences in {{ResponseName}} grouped by {{FactorName}}.")
#| label = "DunnTest"
{{DataName}}.dt = {{DataName}} |> dunn_test({{ResponseName}} ~ {{FactorName}})
{{DataName}}.dt |> kable(caption="Dunn's multiple comparison test for {{ResponseName}} disaggregated by {{FactorName}}.")
#| label = "getMeans"
{{DataName}}.dt |> get_emmeans() |> kable(caption="Means of {{ResponseName}} disaggregated by {{FactorName}}.")


Try the BrailleR package in your browser

Any scripts or data that you put into this service are public.

BrailleR documentation built on July 26, 2023, 5:46 p.m.