grouped_df

0th

Percentile

Convert to a data frame

Functions that convert the input to a data_frame.

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 unevalated expressions for you.

Keywords
internal
Usage
# S3 method for grouped_df
as_data_frame(x, ...)

grouped_df(data, vars, drop = TRUE)

is.grouped_df(x)

Arguments
x

A list. Each element of the list must have the same length.

...

Other arguments passed on to individual methods.

data

a tbl or data frame.

vars

a list of quoted variables.

drop

if TRUE preserve all factor levels, even those without data.

Details

For a grouped data frame, the as_data_frame S3 generic simply removes the grouping.

See Also

as_data_frame

Aliases
  • as_data_frame.grouped_df
  • grouped_df
  • is.grouped_df
Documentation reproduced from package dplyr, version 0.5.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.