van der Waerden test statistic based on spacing frequencies

van.der.Waerden(Sk)

Arguments

Sk

spacing frequencies

Value

van der Waerden test statistic

Examples

data(pigeons) spacings = compute_Sk(pigeons$control, pigeons$experimental) van.der.Waerden(spacings$Sk)
#> [1] -1.220992
van.der.Waerden(c(1,0,0,0,1,2))
#> [1] 1.633519