aue.rotate: Rotation of a matrix

Description Usage Arguments Author(s)

View source: R/auxiliar.R

Description

The program flips the matrix in the desired direction, given as a vector with four coordinates indicating the matrix corners (1 = upper left, 2= upper right, 3 = lower right, 4 = lower left). The position of the input matrix is c(1,2,3,4). For example, a transposition is c(1,4,3,2).

Usage

1
aue.rotate(x, direction = c(1, 2, 3, 4))

Arguments

x

input matrix

direction

vector with four coordinates indicating the position of the matrix angles. 1 = upper left, 2= upper right, 3 = lower right, 4 = lower left.

y0

point column

Author(s)

Leandro Roser learoser@gmail.com


EcoGenetics documentation built on July 8, 2020, 5:46 p.m.