Skip to contents

Given a set of headings, this function returns the polarization order of the set.

Usage

pol_order(h)

polOrder(h)

Arguments

h

A vector of headings (in radians).

Value

A single value between 0 and 1 corresponding to the polarization order parameter of the group.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

h <- runif(25, 0, 2 * pi)
pol_order(h)
#> [1] 0.3315015