Learn R Programming

MAMA (version 2.2.1)

flip: Function to flip data frames

Description

Function reverses the order of rows. It is simmilar to function rev, but designed for rows of a data frame, matrix.

Usage

flip(order)

Arguments

order
Data frame, Matrix

Value

See Also

rev

Examples

Run this code
 A<-matrix(1:24, ncol=4);A
 flip(A)     

Run the code above in your browser using DataLab