rotate2D: Rotate a 2D matrix in 90 degree steps.

Description Usage Arguments Value

View source: R/rotate3d.R

Description

Rotate a 2D matrix in 90 degree steps.

Usage

1
rotate2D(slice, degrees = 90)

Arguments

slice

a 2D matrix

degrees

integer, must be a (positive or negative) multiple of 90

Value

2D matrix, the rotated matrix


freesurferformats documentation built on May 25, 2021, 5:10 p.m.