rotate90 | R Documentation |
Rotate 2D matrix clockwise in 90 degree steps.
rotate90(mtx, times = 1L, clockwise = TRUE)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.