stretch {swaRm} | R Documentation |
Stretching Direction
Description
Given a set of locations, this function approximates the stretching direction of the set by calculating the angle of the main axis of the bivariate 95
Usage
stretch(x, y)
Arguments
x |
A vector of x coordinates. |
y |
A vector of y coordinates. |
Value
A single numeric value corresponding to the angle (in radians) of the main axis of the bivariate 95
Author(s)
Simon Garnier, garnier@njit.edu
See Also
Examples
x <- rnorm(25)
y <- rnorm(25, sd = 3)
stretch(x, y)
[Package swaRm version 0.6.0 Index]