Tuesday, May 1, 2012

Custom CIs in ggplot

Just a reminder to myself, the best way to create a shaded custom CI in ggplot (or at least the way I got it to work) is to use the geom__ribbon function
yourPlot + geom_ribbon(yim=some function/vaule, ymax=some function/vaule)