rev_matrix_rows {arrowheadr}R Documentation

reverses the order of rows or columns in a matrix

Description

reverses the order of rows or columns in a matrix

Usage

rev_matrix_rows(x)

rev_matrix_cols(x)

Arguments

x

matrix

Value

a matrix

Examples

rev_matrix_rows(diag(c(1,2)))

[Package arrowheadr version 1.0.1 Index]