Hello:

I want to get a rolling estimation of the stdev of my data.
Searching the document, I found the function "rollapply" in the zoo package.

For example, my series is "c", and i want get a period of 10 days,
so i write the command below:

roll.sd = rollapply( c, 10, sd, na.pad = TRUE, align = 'right' )

but there is an error in it ,and the computing cannot be performed.
Can anyone help?

PLUS: I also found that there is a function called "rollFun" in package
'fSeries', but there isn't anymore.

	[[alternative HTML version deleted]]


