grouped_df {dplyr} | R Documentation |
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.
## S3 method for class 'grouped_df' as_data_frame(x, ...) grouped_df(data, vars, drop = TRUE) is.grouped_df(x)
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 |
For a grouped data frame, the as_data_frame
S3 generic simply removes the grouping.