Message-ID: <377703184.1194921.1488122648612@mail.yahoo.com>
Date: 2017-02-26T15:24:08Z
From: Allan Tanaka
Subject: order.by requires an appropriate time-based object
HiNot sure why i get error like this:?Error in xts(forecasts, dates[(window.length):length(returns)]) :?? order.by requires an appropriate time-based object
I have researched for the answer that i need to convert returns into time series. I did that but still it doesn't work?See attached for file.Thanks
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 111.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20170226/408992f3/attachment.txt>