circ.range: Circular Range

Description Usage Arguments Details Value Note References See Also Examples

Description

Computes the circular range of a data set and performs a test of uniformity if specified.

Usage

1
circ.range(x, test=FALSE)

Arguments

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.

Details

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.

Value

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.

Note

nCk(n,k) evaluate combinatoric, it should not be called by the users.

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 7.4, World Scientific Press, Singapore.

See Also

kuiper, rao.spacing, r.test, v0.test, watson.

Examples

1
2
3
4
data <- rvm(50, 0, 2)
circ.range(data, test=TRUE)
data <- runif(50, 0, 2*pi)
circ.range(data, test=TRUE)

CircStats documentation built on May 2, 2019, 2:24 a.m.