View source: R/reachProcessing.R
rotateCoordinates | R Documentation |
Rotate a trajectory of X,Y coordinates.
rotateCoordinates(df, angle, origin = c(0, 0))
df |
A dataframe or matrix with two columns: X and Y coordinates. |
angle |
An angle in degrees to rotate the trajectory by. |
origin |
A vector with the coordinates to rotate around. Default (0,0) |
Not yet.
Data frame with the rotated trajectory coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.