https://github.com/hadley/dplyr
Raw File
Tip revision: 8a18247f3518939390c1354629f4497d8a918992 authored by Kirill Müller on 13 March 2018, 20:12:34 UTC
Merge branch 'r-0.7.4.9001' into production
Tip revision: 8a18247
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 = TRUE)

is.grouped_df(x)

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

\item{vars}{a character vector or a list of \code{\link[=name]{name()}}}

\item{drop}{if \code{TRUE} preserve all factor levels, even those without
data.}
}
\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.
}
\keyword{internal}
back to top