summarize a data frame by the summarize terms from ....

summarize_nse(.data, ..., summarize_nse_warn = TRUE, env = parent.frame())

summarise_nse(.data, ..., summarize_nse_warn = TRUE, env = parent.frame())

Arguments

.data

data.frame

...

stringified expressions to summarize by.

summarize_nse_warn

logical, if TRUE warn about possible name collisions.

env

environment to work in.

Value

.data with summarized columns.

See also

Examples

datasets::iris %.>% summarize_nse(., Mean_Sepal_Length := mean(Sepal.Length), Max_Sepal_Length := max(Sepal.Length))
#> Mean_Sepal_Length Max_Sepal_Length #> 1 5.843333 7.9