rotate: Rotates a matrix 180 degrees.

View source: R/utilities.R

rotateR Documentation

Rotates a matrix 180 degrees.

Description

Rotates a matrix 180 degrees. Code is from https://stackoverflow.com/questions/16496210/rotate-a-matrix-in-r-by-90-degrees-clockwise.

Usage

rotate(x)

Arguments

x

A matrix.

Value

A matrix rotate 180 degrees.


geodiv documentation built on Oct. 6, 2023, 1:07 a.m.