[R-SIG-Finance] quantmod: overlaying time series bar charts
Sebastian Hauer
sebastian.hauer at gmail.com
Tue Apr 28 14:49:56 CEST 2009
Hello,
I was wondering if there is an easy way of overlaying two bar charts
using quantmod?
Here is what I am trying to do:
chartSeries(ts1, type = "bars", show.grid = TRUE, up.col = "green",
dn.col = "green")
chartSeries(ts2, type = "bars", show.grid = TRUE, up.col = "red",
dn.col = "red")
But have ts2 show in the same plot frame or if that does not work have
it show in a frame below the first one.
Regards,
Sebastian
More information about the R-SIG-Finance
mailing list