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