Learn R Programming

functClust (version 0.1.6)

reverse_table: Reverse a table along its first dimension

Description

Take a table, then reverse it along is first dimension, that is by moving the first rows as the last ones, and the last rows as the first ones. The function is useful for re-ordering an decreasing table into an increasing table, or the inverse.

Usage

reverse_table(mat)

Arguments

mat

a table or a matrix.

Value

Return a reversed table or matrix.

Details

None.