Mimics dplyr::group_by using base R and rlang

b_group_by(.data, ..., add = FALSE)

# S3 method for data.frame
b_group_by(.data, ..., add = FALSE)

Arguments

.data

data.frame

...

Variables to group by

add

When add = FALSE, the default, group_by() will override existing groups. To add to the existing groups, use add = TRUE., Default: FALSE

Value

data.frame