kruskal wallis r code example Example: kruskal wallis test in r kruskal.test(formula, data, subset, na.action, …)