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