This helper function allows users to build the group_row index more quickly and use group_rows in a way that is similar with collapse_rows.

auto_index(x)

Arguments

x

The index column. A vector. For example `c("a", "a", "b", "b", "b")“