rotate2 {lava} | R Documentation |
Performs a rotation in the plane
Description
Performs a rotation in the plane
Usage
rotate2(x, theta = pi)
Arguments
x |
Matrix to be rotated (2 times n) |
theta |
Rotation in radians |
Value
Returns a matrix of the same dimension as x
Author(s)
Klaus K. Holst
Examples
rotate2(cbind(c(1,2),c(2,1)))
[Package lava version 1.8.0 Index]