Learn R Programming

tsibble (version 0.8.2)

build_tsibble_meta: Low-level & high-performance constructor for a tsibble object

Description

build_tsibble_meta() does much less checks than build_tsibble() for high performance.

Usage

build_tsibble_meta(x, key_data = NULL, index, index2, ordered = NULL,
  interval = TRUE)

Arguments

x

A data.frame, tbl_df, tbl_ts, or other tabular objects.

key_data

A data frame containing key variables and .rows. When a data frame is supplied, the argument key will be ignored.

index, index2

Strings for variable name.

ordered

The default of NULL arranges the key variable(s) first and then index from past to future. TRUE suggests to skip the ordering as x in the correct order. FALSE checks the ordering and may give a warning.

interval

TRUE automatically calculates the interval, and FALSE for irregular interval. Use the specified interval via new_interval() as is.