dplyr::group_split
Alternative to dplyr::group_split
f_group_split(
.data,
...,
.add = FALSE,
.order = group_by_order_default(.data),
.by = NULL,
.cols = NULL,
.drop = df_group_by_drop_default(.data)
)
A list of data frames split by group.
data frame.
Variables to group by.
Should groups be added to existing groups?
Default is FALSE
.
Should groups be ordered? If FALSE
groups will be ordered based on first-appearance.
Typically, setting order to FALSE
is faster.
(Optional). A selection of columns to group by for this operation.
Columns are specified using tidyselect
.
(Optional) alternative to ...
that accepts
a named character vector or numeric vector.
If speed is an expensive resource, it is recommended to use this.
Should unused factor levels be dropped? Default is TRUE
.