Converting 'zoo' object to 'ts' object

zoo_to_ts(zoo.obj)

Arguments

zoo.obj

a univariate 'zoo' object

Examples

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)