data('ToothGrowth')
anovaNP(formula = len ~ dose, data=ToothGrowth)
#
# ONE-WAY ANOVA (NON-PARAMETRIC)
#
# Kruskal-Wallis
# -------------------------------
# X² df p
# -------------------------------
# len 40.7 2 < .001
# -------------------------------
#
Run the code above in your browser using DataLab