stretch | R Documentation |
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)
x |
A vector of x coordinates. |
y |
A vector of y coordinates. |
A single numeric value corresponding to the angle (in radians) of the main axis of the bivariate 95
Simon Garnier, garnier@njit.edu
sphericity
x <- rnorm(25)
y <- rnorm(25, sd = 3)
stretch(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.