tab <- matrix( c( 1, 11, 111,
2, 22, 222,
3, 33, 333), byrow=TRUE, nrow=3)
Rev(tab, direction="row")
Rev(tab, direction="column")
# abbreviations are accepted
Rev(tab, direction="b")
Run the code above in your browser using DataCamp Workspace