https://github.com/hadley/dplyr
Raw File
Tip revision: fdb2c1b72f1a9c4c8d344acef3418e815d88a296 authored by Romain Francois on 17 January 2020, 10:18:43 UTC
typo
Tip revision: fdb2c1b
grouped_df.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/grouped-df.r
\name{grouped_df}
\alias{grouped_df}
\alias{is.grouped_df}
\alias{is_grouped_df}
\title{A grouped data frame.}
\usage{
grouped_df(data, vars, drop = FALSE)

is.grouped_df(x)

is_grouped_df(x)
}
\arguments{
\item{data}{a tbl or data frame.}

\item{vars}{A character vector.}

\item{drop}{When \code{.drop = TRUE}, empty groups are dropped.}
}
\description{
The easiest way to create a grouped data frame is to call the \code{group_by()}
method on a data frame or tbl: this will take care of capturing
the unevaluated expressions for you.

See \code{\link[=group_data]{group_data()}} for the accessor functions that retrieve various metadata
from a \code{grouped_df}.
}
\keyword{internal}
back to top