Skip to content
Prev 3469 / 15274 Next

Trouble using ohlcPlot

A more flexible tool for financial charts can be had in the quantmod
package on CRAN.

This should accept all common time-series formats, though 'xts',
'zoo', 'fts', and 'timeSeries' may be the most useful choices for all
other things in R at this point in time.

library(quantmod)

#using the mts with colnames set by you

chartSeries(mts)

or barChart(), candleChart(), matchChart()...

Take a look here for examples:

http://www.quantmod.com/examples/charting/

HTH
Jeff
On Tue, Jan 6, 2009 at 5:27 AM, Neil Beddoe <Neil.Beddoe at mbamfunds.com> wrote: