rotate2 {lava} | R Documentation |
Performs a rotation in the plane
rotate2(x, theta = pi)
x |
Matrix to be rotated (2 times n) |
theta |
Rotation in radians |
Returns a matrix of the same dimension as x
Klaus K. Holst
rotate2(cbind(c(1,2),c(2,1)))