rot: Rotate a matrix for printing

Description Usage Arguments Value Examples

View source: R/rot.R

Description

Rotates a matrix so that when view is called the rows and columns appear in the same order as when looking at the matrix with print

Usage

1
rot(m)

Arguments

m

matrix

Value

matrix that has been transposed and the columns reversed

Examples

1
2
# Normally image shows a matrix with the first entry in the bottom left
# With rot the image is shown in the same order as print

BaTFLED3D documentation built on May 2, 2019, 2:38 p.m.