periodize_index: Transform index of tsbl_var into period date

Description Usage Arguments Value Examples

Description

Transform index of tsbl_var into period date

Usage

1
periodize_index(tsbl_vars, period_field = "period")

Arguments

tsbl_vars

A tsibble of time series vars.

period_field

A character name of field which contain "quarter", "month", "week" as period indicators. Default is "period".

Value

A tsibble with with index of periodic date.

Examples

1
2
3
4
## Not run: 
tsbl_vars_new <- periodize_index(tsbl_vars, period_field = "period")

## End(Not run)

chriszheng2016/zstexplorer documentation built on June 13, 2021, 9:47 a.m.