Order the rows of a data frame by values of specified columns.
Wrapper arround the arrange() function. Supports
standard and non standard evaluation.
Usage
df_arrange(data, ..., vars = NULL, .by_group = FALSE)
Value
a data frame
Arguments
data
a data frame
...
One or more unquoted expressions (or variable names) separated by
commas. Used to select a variable of interest. Use
desc() to sort a variable in descending order.
vars
a character vector containing the variable names of interest.
.by_group
If TRUE, will sort first by grouping variable. Applies to
grouped data frames only.