Calculates how oblong the shape of a group is, relative to its
average moving direction, along with the properties of the minimum object
oriented bounding box (OOBB) around all objects.
Usage
group_shape(x, y, hs, geo = FALSE)
Value
A list with the estimate of how oblong the group is, and the details
of the bounding box, i.e. its coordinates, height, width, and orientation of
its longest side in degrees.
Arguments
x
A vector of x (or longitude) coordinates.
y
A vector of y (or latitude) coordinates.
hs
A vector of headings of the objects (in degrees).
geo
A logical value indicating whether the locations are defined by
geographic coordinates (pairs of longitude/latitude values). Default: FALSE.