powered by
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
stretch(x, y)
A single numeric value corresponding to the angle (in radians) of the main axis of the bivariate 95
A vector of x coordinates.
A vector of y coordinates.
Simon Garnier, garnier@njit.edu
sphericity
x <- rnorm(25) y <- rnorm(25, sd = 3) stretch(x, y)
Run the code above in your browser using DataLab