[R] Moving standard deviation?

doktora v
Mon, 13 Dec 2004 17:28:26 -0000

Is there a simple function in R to get a moving standard deviation
(i.e. for the last x samples)?

My goal is to plot bollinger bands around a moving average for price
data. I use kernel smoothing for the moving average.

cheers and thanks!
over and out
-- doktora