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 unevaluated expressions for you.
1 2 3 4 5 | grouped_df(data, vars, drop)
is.grouped_df(x)
is_grouped_df(x)
|
data |
a tbl or data frame. |
vars |
a character vector or a list of |
drop |
deprecated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.