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