rotOrder: Rotational order parameter

Description Usage Arguments Value Author(s) See Also Examples

View source: R/orders.R

Description

Given the headings and cartesian coordinates of objects in a group, this function returns the rotational order of the group.

Usage

1
rotOrder(h, x, y)

Arguments

h

A vector of headings (in radians).

x

A vector of x (or longitude) coordinates.

y

A vector of y (or latitude) coordinates.

Value

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

Author(s)

Simon Garnier, [email protected]

See Also

polOrder

Examples

1
# TODO

swarm-lab/swaRm documentation built on June 22, 2018, 5:21 p.m.