ganiso_d {gear} | R Documentation |
Anisotropic distance-related characteristics
Description
Computes necessary distance-related characteristics when
there is geometric anisotropy. This is essentially an
internal function to evaluate
a
cmodStd
object produced by cmod_std
when the anisotropy ratio differs from 1.
Usage
ganiso_d(coords1, coords2, radians = TRUE, invert = TRUE)
Arguments
coords1 |
An |
coords2 |
An |
radians |
A logical value indicating whether the
angles returned should be in degrees or radians. The
default is |
invert |
A logical value indicating whether the axes
of the coordinates should be inverted (i.e., the x- and
y-axis are switched). The default is |
Value
A ganisoD
object with components d
and angles
, which is the distance matrix between
the coordinates and the angles between the coordinates.
The angles are returned in radians.
Examples
ganiso_d(cbind(0, 0), cbind(1, 1))