Page MenuHomePhabricator

Revise signature of function testThenRank
Closed, ResolvedPublic


  1. An argument for significance level alpha is given in the example code (readme) which is not used for the computation (default is 0.05).
  2. The function testThenRank has an argument FUN that is set to "significance" internally. The value that is actually passed is not used. Should "significance" be the default value in the signature already or should the argument be removed?
  3. The parameters should be given in the report for reproducibility.

Event Timeline

This was a tricky bug, thanks!
alpha is now respected, argument FUN is removed. significance ranking is considered an aggregation step, so testThenRank() is nothing else than aggregateThenRank(FUN="significance").
Note that testThenRank will pass all arguments to decision.challenge(), i.e. it will respect arguments:

alternative="one.sided",,y) wilcox.test(x,y,
                                   alternative = alternative,exact=FALSE,
                                   paired = TRUE)$p.value,