add_summary: Add summary to tibble

Description Usage Arguments Value

View source: R/dplyr-like.R


A verb for a dplyr pipeline: Performs a call to summarise(), but does not reduce the data frame to one row per group, instead, adds the resulting fields to every row belonging to that group, returning the original frame with added/changed columns. Effectively, this is like calling summarise(), and then calling mutate() with all the resulting columns.


add_summary(.data, .language)



Data argument, typical "first" argument in dplyr verbs


A call to summarise(), or another method performing equivalent aggregation (potentially wrapping summarise())


The tibble with added columns

tidytidbits documentation built on March 8, 2021, 5:07 p.m.