ts2xts {dsa}R Documentation

Change ts to xts

Description

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.

Usage

ts2xts(x_ts)

Arguments

x_ts

ts series to be changed to xts

Details

This function is used internally in dsa(). Does not create values for the 29th of February.

Author(s)

Daniel Ollech

Examples

ts2xts(stats::ts(rnorm(1000, 10,1), start=c(2001,1), freq=365))

[Package dsa version 1.0.12 Index]