sum package:statistics
The sum of elements in the original Sample. This is the
sample's first simple power.
Sum probabilities in inclusive interval.
The Wilcoxon Rank Sums Test.
This test calculates the sum of ranks for the given two samples. The
samples are ordered, and assigned ranks (ties are given their average
rank), then these ranks are summed for each sample.
The return value is (W₁, W₂) where W₁ is the sum of ranks of the first
sample and W₂ is the sum of ranks of the second sample. This test is
trivially transformed into the Mann-Whitney U test. You will probably
want to use
mannWhitneyU and the related functions for testing
significance, but this function is exposed for completeness.