powered by
Sort a data frame by a column of choice. The column of choice is specified by the number of the column.
fsortcol(x,n,dec)
:a data frame
:number column to sort
:the order of sorting, default set to TRUE
# NOT RUN { fsortcol(mtcars,1,dec = TRUE) # }
Run the code above in your browser using DataLab