grouped_df: A grouped data frame.

Description Usage Arguments

Description

The easiest way to create a grouped data frame is to call the group_by() method on a data frame or tbl: this will take care of capturing the unevaluated expressions for you.

Usage

1
2
3
4
5

Arguments

data

a tbl or data frame.

vars

a character vector or a list of name()

drop

When .drop = TRUE, empty groups are dropped.


dplyr documentation built on July 4, 2019, 5:08 p.m.