Learn R Programming

tsibble (version 0.9.2)

key: Return key variables

Description

key() returns a list of symbols; key_vars() gives a character vector.

Usage

key(x)

key_vars(x)

Arguments

x

A tsibble.

Examples

Run this code
# NOT RUN {
key(pedestrian)
key_vars(pedestrian)

key(tourism)
key_vars(tourism)
# }

Run the code above in your browser using DataLab