Hi Joshua, Thanks.
I had used irts because I thought I had to. The tick data I have has some minutes in which there is no data, and others when there are hundreds, or even thousands. If xts supports irregular data, the that is one less step for me to worry about. Alas, your suggestion didn't help: > z <- xts(y[,2], y[,1]) > alpha3 <- to.minutes3(z, OHLC=TRUE) > plotOHLC(alpha3) Error in plotOHLC(alpha3) : x is not a open/high/low/close time series > str(alpha3) An ‘xts’ object from 2010-06-30 15:47:00 to 2011-10-31 15:14:00 containing: Data: num [1:98865, 1:4] 9215 9220 9205 9195 9195 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr [1:4] "z.Open" "z.High" "z.Low" "z.Close" Indexed by objects of class: [POSIXct,POSIXt] TZ: xts Attributes: NULL Is there anything else I might try? Thanks again, Ted -- View this message in context: http://r.789695.n4.nabble.com/plotOHLC-alpha3-Error-in-plotOHLC-alpha3-x-is-not-a-open-high-low-close-time-series-tp4283217p4286124.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.