ts_2_tibble: Transform ts to tibble

Description Usage Arguments Details Value Examples

View source: R/midas_processing.R

Description

Transform ts to tibble

Usage

1
ts_2_tibble(ts_data)

Arguments

ts_data

ts object

Details

Transform ts to tibble. The function takes univariate or multivariate time series and transforms them to a tibble with a separate column indicating a period of time. Column with dates is called "date".

Value

tsibble

Examples

1
2
test_ts = stats::ts(rnorm(100), start = c(2000, 1), freq = 12)
ts_2_tibble(test_ts)

kassandra-ru/kassandr documentation built on Jan. 1, 2022, 7:39 a.m.