Circular Range
Length of the smallest arc which contains all the observations.
circular_range(x, axial = TRUE, na.rm = TRUE)
x
: numeric vector. Values in degrees.
axial
: logical. Whether the data are axial, i.e. pi-periodical (TRUE
, the default) or directional, i.e. -periodical (FALSE
).
na.rm
: logical value indicating whether NA
values in x
should be stripped before the computation proceeds.
numeric. angle in degrees
roulette <- c(43, 45, 52, 61, 75, 88, 88, 279, 357) circular_range(roulette, axial = FALSE) data("san_andreas") circular_range(san_andreas$azi)
Mardia, K.V., and Jupp, P.E (1999). Directional Statistics, Wiley Series in Probability and Statistics. John Wiley & Sons, Inc., Hoboken, NJ, USA. tools:::Rd_expr_doi("10.1002/9780470316979")