Description Usage Arguments Examples
Sort a data frame by a column of choice. The column of choice is specified by the number of the column.
1 | df.sortcol(x,n,desc)
|
x |
:a data frame |
n |
:number column to sort |
desc |
:the order of sorting, default set to TRUE; for ascending order set to FALSE |
1 | df.sortcol(mtcars,2,desc = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.