Last data update: 2014.03.03
|
R: Sort data frame
Sort data frame
Description
Sort data according to columns in data frame
Usage
dsort(data, x, ...)
Arguments
data |
Data frame
|
x |
variable to order by
|
... |
additional variables to order by
|
Value
data.frame
Examples
data(hubble)
dsort(hubble, "sigma")
dsort(hubble, hubble$sigma,"v")
dsort(hubble,~sigma+v)
Results
|