sort.data.frame: Implements a 'sort' method for 'data.frame', sorting it in...

Description Usage Arguments Value See Also Examples

Description

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..

Usage

1
2
## S3 method for class 'data.frame'
sort(x, decreasing = FALSE, ...)

Arguments

x

A data.frame to sort.

decreasing

Whether to sort in decreasing order.

...

Ignored. Needed for compatibility with the generic.

Value

A data frame, sorted lexicographically.

See Also

data.frame, sort

Examples

1
2
3
4
5


Search within the statnet.common package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.