powered by
Aggregations for a data.table::data.table.
# S3 method for ExprBuilder group_by(.data, ..., .parse = getOption("table.express.parse", FALSE))
An instance of ExprBuilder.
Clause for grouping on columns. The by inside the data.table's frame.
by
data.table
Logical. Whether to apply rlang::parse_expr() to obtain the expressions.
rlang::parse_expr()
Everything in ... will be wrapped in a call to list.
...
list
To see more examples, check the vignette, or the table.express-package entry.
# NOT RUN { data("mtcars") data.table::as.data.table(mtcars) %>% start_expr %>% group_by(cyl, gear) # }
Run the code above in your browser using DataLab