powered by
Given a set of headings and locations, this function returns the rotational order of the set
.cartesianPerimeter(x, y)rot_order(x, y, h)rotOrder(h, x, y)
rot_order(x, y, h)
rotOrder(h, x, y)
A single value between 0 and 1 corresponding to the rotational order parameter of the group.
A vector of x (or longitude) coordinates.
A vector of y (or latitude) coordinates.
A vector of headings (in radians).
Simon Garnier, garnier@njit.edu
pol_order
x <- rnorm(25) y <- rnorm(25, sd = 3) h <- runif(25, 0, 2 * pi) rot_order(x, y, h)
Run the code above in your browser using DataLab