rotate_xy {egor} | R Documentation |
Rotate a matrix of x and y coordinates by a radian
Description
Rotate a matrix of x and y coordinates by a radian
Usage
rotate_xy(xy_mat, rad, direction = 1)
Arguments
xy_mat |
A two column matrix with x and y coordinates.
|
rad |
Numeric. Rotation angle in radian.
|
direction |
Numeric. Rotation direction, 1 for clockwise -1 for counter-clockwise.
|
[Package
egor version 1.24.2
Index]