Re: [R] creating a xts object

2015-12-25 Thread Giorgio Garziano
Some hints at the following link where the "order.by requires an appropriate time-based object" error is commented. http://stackoverflow.com/questions/23224142/converting-data-frame-to-xts-order-by-requires-an-appropriate-time-based-object -- GG [[alternative HTML version deleted]] __

[R] creating a xts object

2015-12-25 Thread T.Riedle
Dear all, I am working with the rugarch package which requires xts objects. I have installed the xts package to convert my dataset from .csv to a xts object but it does not work. My code looks as follows: VaRxts <- as.xts(VaR,order.by ="Date") Error in xts(x, order.by = order.by, frequency = fre