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())
.data | data.frame |
---|---|
... | stringified expressions to summarize by. |
summarize_nse_warn | logical, if TRUE warn about possible name collisions. |
env | environment to work in. |
.data with summarized columns.
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