pol_order: Polarization Order Parameter

View source: R/orders.R

pol_orderR Documentation

Polarization Order Parameter

Description

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.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

rot_order

Examples

h <- runif(25, 0, 2 * pi)
pol_order(h)


swarm-lab/swaRm documentation built on Dec. 3, 2023, 9:30 p.m.