powered by
Rotation of the object form around a center center, of angle angle. Angle in radians in the direct (trigonometric) direction.
form
center
angle
rotation(form, center, angle)
matrix: two columns, x and y, giving the coordinates of the points composing the object.
vector: coordinates of the rotation center.
numeric: rotation angle in radians
matrix: form object rotated.
A geometric function used by smartArrow
smartArrow
# NOT RUN { rotation(cbind(c(0,1),c(0,0)),c(0,0),pi/3) # }
Run the code above in your browser using DataLab