sort.data.frame {statnet.common} | R Documentation |
sort
method for data.frame
,
sorting it in lexicographic order.
This function returns a data frame sorted in lexcographic order: first by the first column, ties broken by the second, remaining ties by the third, etc..
## S3 method for class 'data.frame' sort(x, decreasing = FALSE, ...)
x |
A |
decreasing |
Whether to sort in decreasing order. |
... |
Ignored. Needed for compatibility with |
A data frame, sorted lexicographically.
data.frame, sort
data(iris) head(iris) head(sort(iris))