R: Group by key variables

group_by_key {tsibble} | R Documentation

## Group by key variables

### Description

Group by key variables

### Usage

    group_by_key(.data, ..., .drop = key_drop_default(.data))

### Arguments

`.data` | A `tbl_ts` object.
`...` | Ignored.
`.drop` | When `.drop = TRUE`, empty groups are dropped. See `group_by_drop_default()` for what the default value is for this argument.

### Examples

    tourism %>%
      group_by_key()

[Package tsibble version 0.8.2 Index]