function to draw confidence bands, using generalized moving averages/sds
importFrom grDevices rgb importFrom graphics lines polygon importFrom stats sd
confBand( x, y, x0, x1, y0, y1, windowsNbr = 10, period = ceiling(length(y)/windowsNbr), lcolour = "gray", ltype = 4, lwidth = 2, filling = TRUE )
Useful links