[R-SIG-Finance] Shaded regions as an indicator in quantmod

Gabor Grothendieck ggrothendieck at gmail.com
Fri Nov 28 03:41:46 CET 2008


Although not using quantmod there is an example using
xyplot.zoo (which is a method for lattice xyplot)  in:

library(zoo)
example(xyplot.zoo)

On Thu, Nov 27, 2008 at 12:19 PM, Brian Lee Yung Rowe
<brian at muxspace.com> wrote:
> Hi,
>
> I want to produce charts using quantmod similar to the ones available from
> FRED. Specifically, FRED has this handy feature of rendering the
> NBER-defined recession periods under the displayed time series.
>
> It seems like calling newTA with the appropriate function handle could
> produce the output necessary to define the shading bars, but I'm not sure if
> any of the existing charting types can generate the correct look and feel.
> Anybody have suggestions?
>
> Thanks,
> Brian
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>



More information about the R-SIG-Finance mailing list