rotate2D | R Documentation |
Rotate a plane of coordinates to a given angle.
rotate2D(plane, angle, threads = 1)
plane |
A |
angle |
A |
threads |
An |
A data.table
with the rotation applied to plane
.
J. Antonio Guzmán Q.
data(pc_tree) plot(pc_tree[,1:2]) #Rotate in 45 degrees using Z axis of the cloud plot(rotate2D(pc_tree[,1:2], angle = 45))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.