https://github.com/hadley/dplyr
Raw File
Tip revision: 1f57c48a765ad60837ffed1fe0572c40f4b7a3de authored by hadley on 09 January 2015, 12:35:47 UTC
Merge branch 'master' of github.com:hadley/dplyr
Tip revision: 1f57c48
grouped_df.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/grouped-df.r
\name{grouped_df}
\alias{grouped_df}
\alias{is.grouped_df}
\title{A grouped data frame.}
\usage{
grouped_df(data, vars, drop = TRUE)

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

\item{vars}{a list of quoted variables.}

\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 unevalated expressions for you.
}
\keyword{internal}

back to top