summarize_nse: summarize non-standard evaluation interface.

Description Usage Arguments Value See Also Examples

View source: R/summarize_nse.R

Description

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

Usage

1
2
3
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

summarize_se, summarize, summarize_at, :=

Examples

1
2
3
datasets::iris %.>%
  summarize_nse(., Mean_Sepal_Length := mean(Sepal.Length),
                   Max_Sepal_Length := max(Sepal.Length))

seplyr documentation built on Sept. 5, 2021, 5:12 p.m.