rev_matrix_rows: reverses the order of rows or columns in a matrix

View source: R/main.R

rev_matrix_rowsR 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)))

arrowheadr documentation built on June 22, 2024, 9:38 a.m.