rotate2D | R Documentation |
Rotate a 2D matrix in 90 degree steps.
rotate2D(slice, degrees = 90)
slice |
a 2D matrix |
degrees |
integer, must be a (positive or negative) multiple of 90 |
2D matrix, the rotated matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.