Given a set of headings, this function returns the polarization order of the set.
Value
A single value between 0 and 1 corresponding to the polarization order parameter of the group.
Author
Simon Garnier, garnier@njit.edu
Examples
h <- runif(25, 0, 2 * pi)
pol_order(h)
#> [1] 0.3315015