Skip to content
Prev 820 / 15274 Next

zoo object -> ts object

Dear all,

I obtained data from the net using

get.hist.quote(instrument = "^DJI", start = "1995-01-01", end = "2004-12-31",
                       quote = "Close")

as suggested n this discussion. The result is a zoo object. How to transform it
in time series object in order to perform log-return etc?

Thanks in advance
Vitor Teixeira