.getGroups | R Documentation |
Useful for debugging, e.g. when trying to fill by but groups contain multiple values. Group order is determined by dplyr::group_rows
.getGroups(df, i = 1, n = 1, row_idxs = NULL)
df |
A grouped data.frame |
i |
(integer(1), default: 1) The index of the first group to return |
n |
(integer(1), default: 1) How many groups should be returned? |
row_idxs |
(Optional, default: NULL) Indices of rows |
Rows of grouped data.frame df corresponding to group i, where the grouping order is determined by dplyr.
Helen Lindsay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.