Skip to content
Prev 1722 / 15274 Next

moving average

Asking if your code does what you think it does is
an excellent thing to do.

In this case I would try it out on something like:

A <- rnorm(30)
A[15] <- 100

And then see if the result is what I hoped.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
Alexander Moreno wrote: