R/main.R
rev_matrix_rows.Rd
reverses the order of rows or columns in a matrix
rev_matrix_rows(x) rev_matrix_cols(x)
matrix
a matrix
rev_matrix_rows(diag(c(1,2))) #> [,1] [,2] #> [1,] 0 2 #> [2,] 1 0