reverseRowsAndReverseColumns {heuristica}R Documentation

Reverse rows and columns of data

Description

This matrix [,1] [,2] [1,] 1 2 [2,] 3 4 becomes [,1] [,2] [1,] 4 3 [2,] 2 1

Usage

reverseRowsAndReverseColumns(data)

Arguments

data

A data.frame or matrix.

Value

A data.frame or matrix with rows reversed and columns reversed.


[Package heuristica version 1.0.3 Index]