Description Usage Arguments Value Examples
View source: R/rotation_perrrfect.R
rotation_perrrfect rotates an image in matrix form by either 90, 180, 270, or 360 degrees.
1 | rotation_perrrfect(image, n_rot)
|
image |
imager::cimg of pixel values to be rotated |
n_rot |
Integer number of 90-degree rotations to return |
imager::cimg of rotated pixel values
1 | rotation_perrrfect(imager::boats, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.