circular_range {tectonicr} | R Documentation |
Circular Range
Description
Length of the smallest arc which contains all the observations.
Usage
circular_range(x, axial = TRUE, na.rm = TRUE)
Arguments
x |
numeric vector. Values in degrees. |
axial |
logical. Whether the data are axial, i.e. pi-periodical
( |
na.rm |
logical value indicating whether |
Value
numeric. angle in degrees
References
Mardia, K.V., and Jupp, P.E (1999). Directional Statistics, Wiley Series in Probability and Statistics. John Wiley & Sons, Inc., Hoboken, NJ, USA. doi:10.1002/9780470316979
Examples
roulette <- c(43, 45, 52, 61, 75, 88, 88, 279, 357)
circular_range(roulette, axial = FALSE)
data("san_andreas")
circular_range(san_andreas$azi)
[Package tectonicr version 0.4.4 Index]