Learn R Programming

seplyr (version 1.0.4)

group_indices_se: group_indices standard interface.

Description

Group a data frame by the groupingVars and add group labels.

Usage

group_indices_se(.data, groupingVars, add = FALSE)

Arguments

.data

data.frame

groupingVars

character vector of column names to group by.

add

logical, passed to group_by

Value

per-row group index assignments

See Also

group_indices

Examples

Run this code
# NOT RUN {
group_indices_se(datasets::mtcars, c("cyl", "gear"))

# }

Run the code above in your browser using DataLab