rotateS | R Documentation |
Rotates a point a given angle around a given center point.
rotateS(x2, y2, x0, y0, ang)
x2 |
x coordinate of the position being rotated |
y2 |
y coordinate of the position being rotated |
x0 |
x coordinate of the center of rotation |
y0 |
y coordinate of the center of rotation |
ang |
rotatation angle in radians |
Returns a rotated point
JP Bida
### Rotate a point 90 degress ###
rotateS(0,1,0,0,pi/2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.