| rotation | R Documentation |
This function calculates the clockwise rotation of angle \theta of a given vector v in the plane.
rotation(v, theta)
v |
Vector |
theta |
Angle |
v.rot |
Vector after rotation. |
## Not run:
# Rotation of angle pi/4 of the vector (0,1)
rotation(v = c(0, 1), theta = pi/4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.