Wilcoxon test statistic based on spacing frequencies

wilcoxon(Sk)

Arguments

Sk

spacing frequencies

Value

Wilcoxon test statistic

Examples

data(pigeons) spacings = compute_Sk(pigeons$control, pigeons$experimental) wilcoxon(spacings$Sk)
#> [1] 94
wilcoxon(c(1,0,0,0,1,2))
#> [1] 21