Learn R Programming

geodiv (version 1.1.0)

rotate: 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)

Value

A matrix rotate 180 degrees.

Arguments

x

A matrix.