Can't get multiple panel plots with chartSeries function from quantod package in R
- by Milktrader
Jeff Ryan's quantmod package is an excellent contribution to the R finance world.
I like to use chartSeries() function, but when I try to get it to display multiple panes simultaneously, it doesn't work.
par(mfrow=c(2,2))
chartSeries (SPX)
chartSeries (SPX, subset="2010")
chartSeries (NDX)
chartSeries (NDX, subset="2010")
would normally return a four-panel graphic as it does with the plot() function but in the chartSeries example it runs through all instances one at a time without creating a single four-panel graphic.