rotate90 {freesurferformats} | R Documentation |
Rotate 2D matrix clockwise in 90 degree steps.
Description
Rotate 2D matrix clockwise in 90 degree steps.
Usage
rotate90(mtx, times = 1L, clockwise = TRUE)
Arguments
mtx |
a 2D matrix |
times |
integer, how often to rotate in 90 degree steps. Example: pass '3L' to rotate '270' degrees. |
clockwise |
logical, whether to rotate clockwise. |
[Package freesurferformats version 0.1.18 Index]