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 grouped_df
as_data_frame(x, ...)grouped_df(data, vars, drop = TRUE)
is.grouped_df(x)
A list. Each element of the list must have the same length.
Other arguments passed on to individual methods.
a tbl or data frame.
a list of quoted variables.
if TRUE
preserve all factor levels, even those without
data.
For a grouped data frame, the as_data_frame
S3 generic simply removes the grouping.