circ.range {CircStats} | R Documentation |
Computes the circular range of a data set and performs a test of uniformity if specified.
circ.range(x, test=FALSE)
x |
vector of directional data measured in radians. |
test |
logical flag: if TRUE then the test of uniformity is performed; otherwise the test is not performed. Default is FALSE. |
The circular range is the shortest arc on the circle containing the entire set of data. The p-value is computed using the exact distribution of the circular range under the hypothesis of uniformity.
Returns a dataframe with the circular range, r. If the significance test is requested the p-value of the test is returned as p.value.
nCk(n,k) evaluate combinatoric, it should not be called by the users.
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 7.4, World Scientific Press, Singapore.
kuiper, rao.spacing, r.test, v0.test, watson.
data <- rvm(50, 0, 2) circ.range(data, test=TRUE) data <- runif(50, 0, 2*pi) circ.range(data, test=TRUE)