vegandevs/vegan — pull request #48 by jarioksa (2014-09-30 14:13:01+00:00)
Title: Add test statistic among permutations in permutest.betadisper

Fixes bug introduced in a255767, where pairwise tests compared
permutations against wrong value of test statistic. Now we add
test statistic among permutations. Because this is done (= first
row of permutations is the test statistic), we also must omit the
+1 term in the numerator and denominator.

@gavinsimpson : I think this fixes the problems with pairwise
tests. Now the firs item really is `T0`, and since it really is
among permutations we also drop `+1`.