[R] How to?

Martin Maechler maechler at stat.math.ethz.ch
Fri Aug 25 08:41:11 CEST 2000


>>>>> "Yves" == Yves Gauvreau <cyg at sympatico.ca> writes:

      ....

    Yves> In fact what I'd like to know is what is the most efficient R way
    Yves> to do thing like a moving average on a vector. Something generic
    Yves> enough that one could use practically any function on a constant
    Yves> width window of the vector?

filter()  from package ts ?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list