group_by.list: Group by one or more variables

Description Usage Arguments

Description

group_by re-arranges list, by creating a hierarchical list groupped according to variables listed in .... To back-transform the groupped list, use unlist.

Usage

1
2
3
4
5
6
7
## S3 method for class 'list'
group_by(.data, ..., warn = TRUE)

## S3 method for class 'grouped_list'
ungroup(x, ...)

is_grouped_list(x)

Arguments

.data

a list.

...

variables to group by.

warn

throw warnings when encountering errors in selecting variables (FALSE by default).

x

an object.


twolodzko/lolplyr documentation built on May 14, 2019, 8:22 a.m.