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 July 4, 2022, 5:48 p.m.