cir_gaps {sphunif} | R Documentation |
Circular gaps
Description
Computation of the circular gaps of an angular sample
on
, defined as
where
Usage
cir_gaps(Theta, sorted = FALSE)
Arguments
Theta |
a matrix of size |
sorted |
are the columns of |
Value
A matrix of size c(n, M)
containing the n
circular
gaps for each of the M
circular samples.
Warning
Be careful on avoiding the next bad usages of cir_gaps
, which will
produce spurious results:
The entries of
Theta
are not in.
-
Theta
is not sorted increasingly whendata_sorted = TRUE
.
Examples
Theta <- cbind(c(pi, 0, 3 * pi / 2), c(0, 3 * pi / 2, pi), c(5, 3, 1))
cir_gaps(Theta)
[Package sphunif version 1.4.0 Index]