rotate: Rotate a matrix by a quarter-turn clockwise

View source: R/rotate.R

rotateR Documentation

Rotate a matrix by a quarter-turn clockwise

Description

Rotate a matrix by a quarter-turn clockwise

Usage

rotate(mat)

Arguments

mat

matrix to be rotated.

Value

matrix

Examples

op <- par(mfcol = c(1,2))
image(volcano)
image(rotate(volcano))
par(op)


marchtaylor/sinkr documentation built on June 15, 2025, 1:17 a.m.