grouped_df: A grouped data frame.

Description Usage Arguments

View source: R/grouped-df.r

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.

These functions are designed for programmatic use. For data analysis purposes see group_data() for the accessor functions that retrieve various metadata from a grouped data frames.

Usage

1
2
3
4
5

Arguments

data

a tbl or data frame.

vars

A character vector.

drop

When .drop = TRUE, empty groups are dropped.


javifar/TIDYVERSE-DPLYR documentation built on Dec. 20, 2021, 9:08 p.m.