rotate_xy  R Documentation 
Rotate a matrix of x and y coordinates by a radian
rotate_xy(xy_mat, rad, direction = 1)
xy_mat 
A two column matrix with x and y coordinates. 
rad 

direction 

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.