Description data.frame to grouped_df Author(s)
This package automatically creates S3 methods. Well, not so much creates as modifies. Given a method for one class, it will generate an appropriate method for another. This is meant to smoothline writing packages.
data.frame
to grouped_df
dplyr
's class grouped_df
is an efficient and conveneint way
to run operations on sections of data frames. Running mutate
on
a grouped_df
will calculate on subsets of a column. However,
calling a function that operates ona data frame rather than a vector
is somewhat difficult without a deeper understanding of the class.
This is easily bypassed by creating a separate S3 method for grouped_df
.
Aleksander Chlebowski, Warsaw, 28 May 2019
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.