Quantmod / xts problem " Error in `[.xts`(x, xsubset) : subscript out of bounds"
Hello all, I got some problems while plotting OHLC intraday data using chartSeries(), ploting of chartSeries(Cl(..) ) works through. Who knows whats going on? best regards, Immanuel -------------------
class(intradayData)
[1] "xts" "zoo"
intradayData[1:5]
Open Close High Low Volume X 2010-05-10 10:00:00 5854.5 5911.0 5925.0 5850.0 2066 NA 2010-05-10 10:10:00 5910.5 5895.0 5911.0 5887.5 1055 NA 2010-05-10 10:20:00 5895.0 5892.0 5901.0 5884.0 913 NA 2010-05-10 10:30:00 5890.0 5903.0 5904.5 5888.5 630 NA 2010-05-10 10:40:00 5903.0 5906.5 5925.0 5901.0 418 NA
chartSeries(intradayData[1:15])
Error in `[.xts`(x, xsubset) : subscript out of bounds