View source: R/utils_geometry.R
tr_rotate | R Documentation |
Rotate a 2D object
tr_rotate(data, a, index = NULL)
data |
dataframe with x and y coordinates, and id columns |
a |
rotation angle (radian) |
index |
string for the index column to be added from the original data |
a dataframe with new coordinates columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.