Group By Helper
This is a wrapper to facilitate the grouped_df
S3 method.
group_by_fun(data, .fun, ...)
data |
data.frame, which will be grouped |
.fun |
a function to apply |
... |
additional arguments to be passed to map |
a dataframe with the function applied to each group
## Not run: miss_case_table.grouped_df <- function(data){ group_by_fun(data,.fun = miss_case_table) } airquality %>% group_by(Month) %>% miss_case_table() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.