Learn R Programming

tsibble (version 1.1.5)

index: Return index variable from a tsibble

Description

Return index variable from a tsibble

Usage

index(x)

index_var(x)

index2(x)

index2_var(x)

Arguments

x

A tsibble object.

Examples

Run this code
index(pedestrian)
index_var(pedestrian)

Run the code above in your browser using DataLab