.cartesianPerimeter {swaRm}R Documentation

Rotational Order Parameter

Description

Given a set of headings and locations, this function returns the rotational order of the set

Usage

.cartesianPerimeter(x, y)

rot_order(x, y, h)

rotOrder(h, x, y)

Arguments

x

A vector of x (or longitude) coordinates.

y

A vector of y (or latitude) coordinates.

h

A vector of headings (in radians).

Value

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

Author(s)

Simon Garnier, garnier@njit.edu

See Also

pol_order

Examples

x <- rnorm(25)
y <- rnorm(25, sd = 3)
h <- runif(25, 0, 2 * pi)
rot_order(x, y, h)


[Package swaRm version 0.6.0 Index]