colgrp {groupr} | R Documentation |
Make a Single Column Grouping
Description
Takes a tibble and groups columns together into a single data column. All
columns that are not row indices will be grouped, and the resulting column
will be named data_name
.
Usage
colgrp(x, data_name, index_name = "group")
Arguments
x |
A tibble |
data_name |
A string, the name of the new column |
index_name |
A string, the name of the new column index |
Value
A grouped tibble
[Package groupr version 0.1.2 Index]