Dixon test statistic based on spacing frequencies

dixon(Sk)

Arguments

Sk

spacing frequencies

Value

Dixon test statistic

Examples

data(pigeons) spacings = compute_Sk(pigeons$control, pigeons$experimental) dixon(spacings$Sk)
#> [1] 42
dixon(c(1,0,0,0,1,2))
#> [1] 6