This package implements the Kruskal-Wallis test, a non-parametric test for equality of a variable between groups (basically, ANOVA on ranks). See eg: https://en.wikipedia.org/wiki/Kruskal%E2%80%93Wallis_one-way_analysis_of_variance We provide two functions: one is called KruskalWallis(), takes two mandatory parameters and an optional one: 1) The series for which you want to perform the test; 2) the grouping variable (which must be discrete); 3) an optional Boolean flag to operate verbosely, that is, print out the results (default=1). Another one, KruskalWallis2(), takes a named list and optionally the verbose Boolean flag. In this case, the test compares the variables included in the list for median equality. In practice, the series in the list are considered different realisations of the same variables for different values of a given factor. Both functions returns a 3-element vector holding the test statistic, the degrees of freedom and the p-value. Changelog: --------------------------------------------------------------- 1.1 -> 1.2: Only minor changes: enforce the requirements that the grouping variable is discrete, fix a few typos and push version requirement. 1.0 -> 1.1: Added the KruskalWallis2() function.