Performs a rotation in the plane
rotate2(x, theta = pi)
x
theta
Returns a matrix of the same dimension as x
rotate2(cbind(c(1,2),c(2,1)))
Klaus K. Holst
Useful links