Print first group of a grouped data.frame, then prompt user to either print the next group or quit. Group order is determined by dplyr::group_rows.
Arguments
- df
A *grouped* data.frame
- i
(integer(1), default 1) Index of the group to be printed.
- n
(integer(1), default 1) How many groups to show at once?
- max_rows
integer(1) Maximum number of rows to print (Default: 50).
- interactive
(default: TRUE) Should the function wait for a command prompt to show the next group?