replyr_group_by: group_by columns

Description Usage Arguments Value See Also Examples

View source: R/underscoreReplacements.R

Description

See also: https://gist.github.com/skranz/9681509

Usage

1

Arguments

.data

data.frame

colnames

character vector of column names to group by.

Value

.data grouped by columns named in colnames

See Also

group_by, group_by_at

Examples

1
2
3
4
d <- data.frame(Sepal_Length= c(5.8,5.7),
                Sepal_Width= c(4.0,4.4),
                Species= 'setosa')
replyr_group_by(d, 'Species')

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.