R/util_functions.R
zoo_to_ts.Rd
Converting 'zoo' object to 'ts' object
zoo_to_ts(zoo.obj)
a univariate 'zoo' object
data("EURO_Brent", package = "TSstudio") class(EURO_Brent)#> [1] "zooreg" "zoo" ts_plot(EURO_Brent) EURO_Brent_ts <- zoo_to_ts(EURO_Brent) class(EURO_Brent_ts)#> [1] "ts"ts_plot(EURO_Brent_ts)