rotateAxesTrueNorth | R Documentation |
Rotate axes clockwise from true north
rotateAxesTrueNorth(x, y, angle)
x |
a numeric vector of the x-component value(s) |
y |
a numeric vector of the y-component value(s) |
angle |
rotation angle in degrees |
This function rotates points clockwise from true north in a x-y Cartesian coordinate system. Adapted from MATLAB code provided to me by David Hebert, which was used in Mathieu Dever's PhD.
list of rotated x and y components as X
and Y
.
Chantelle Layton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.