f_arrange {fastplyr} | R Documentation |
A collapse
version of dplyr::arrange()
Description
This is a fast and near-identical alternative to dplyr::arrange()
using the collapse
package.
desc()
is like dplyr::desc()
but works faster when
called directly on vectors.
Usage
f_arrange(
data,
...,
.by = NULL,
.by_group = FALSE,
.cols = NULL,
.descending = FALSE
)
Arguments
data |
A data frame. |
... |
Variables to arrange by. |
.by |
(Optional). A selection of columns to group by for this operation.
Columns are specified using |
.by_group |
If |
.cols |
(Optional) alternative to |
.descending |
|
Value
A sorted data.frame
.