Skip to contents

Useful for debugging, e.g. when trying to fill by but groups contain multiple values. Group order is determined by dplyr::group_rows

Usage

.getGroups(df, i = 1, n = 1, row_idxs = NULL)

Arguments

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