Learn R Programming

tsibble (version 1.1.5)

group_by_key: Group by key variables

Description

[Stable]

Usage

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

Arguments

.data

A tbl_ts object.

...

Ignored.

.drop

Drop groups formed by factor levels that don't appear in the data? The default is TRUE except when .data has been previously grouped with .drop = FALSE. See group_by_drop_default() for details.

Examples

Run this code
tourism %>%
  group_by_key()

Run the code above in your browser using DataLab