| key_by {tsibble} | R Documentation |
tbl_tsChange key variables for a given tbl_ts
key_by(.data, ...)
.data |
A |
... |
Variables to construct the key. |
# By removing `State` from key, it is a valid tsibble too. tourism %>% key_by(Region, Purpose)