Wheeler-Watson test statistic based on spacing frequencies

wheeler_watson(Sk)

Arguments

Sk

spacing frequencies

Value

Wheeler-Watson test statistic

Examples

data(pigeons) spacings = compute_Sk(pigeons$control, pigeons$experimental) wheeler_watson(spacings$Sk)
#> [1] 19.51057
wheeler_watson(c(1,0,0,0,1,2))
#> [1] 3.618034