turnmat: Turn matrix 90 degrees counter-clockwise.

Description Usage Arguments Value Examples

View source: R/HelpFunctions.R

Description

Help function to turn matrix 90 degrees counter-clockwise. turnmat is used as an internal function in some of the plotting functions. Depending on how the data is stored, it can be necessary to turn the matrices 90 degrees counter-clockwise for being able to plot them correctly.

Usage

1

Arguments

x

Matrix to be turned.

Value

Matrix x, turned by 90 degrees counter-clockwise.

Examples

1
2
3
set.seed(987)
sampleMat <- matrix(stats::rnorm(100), nrow = 10)
sampleMatTurn <- turnmat(x = sampleMat)

romanflury/mrbsizeR documentation built on Dec. 15, 2019, 9:30 p.m.