Compute spacing frequencies

compute_Sk(x, y)

Arguments

x

first sample

y

second sample

Value

A list with the following structure:

Sk

a vector containing the spacing frequencies

n

total of frequencies

m

number of spacings

Examples

data(pigeons) compute_Sk(pigeons$control, pigeons$experimental)
#> $Sk #> [1] 5 0 0 0 0 1 0 0 0 4 #> #> $n #> [1] 10 #> #> $m #> [1] 10 #>