infer_colgrps | R Documentation |
Takes a data frame where each non row index is a data frame column, and sets the corresponding column grouping.
infer_colgrps(x, index_name = "group", sep = "_")
x |
A tibble with data frame data columns |
index_name |
A name for the new column index |
sep |
A character used to join the data column and group names |
A grouped tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.