powered by
Change the format of a time series from ts to xts. Has been optimised for the use in dsa(), i.e. for daily time series.
ts2xts(x_ts)
ts series to be changed to xts
This function is used internally in dsa(). Does not create values for the 29th of February.
# NOT RUN { ts2xts(stats::ts(rnorm(1000, 10,1), start=c(2001,1), freq=365)) # }
Run the code above in your browser using DataLab