[R] How to get a running mean result by R?

William Dunlap wdunlap at tibco.com
Wed Jun 12 17:43:08 CEST 2013

Look at the filter() function.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of Jie Tang
> Sent: Wednesday, June 12, 2013 12:21 AM
> To: r-help at r-project.org
> Subject: [R] How to get a running mean result by R?
> Hi R users:
>   I have a big data and want to calculate the running mean of this data .
> How can I get this kind of result ? I have check the command "mean"
> it seems "mean" could not get the running mean?
> --
> TANG Jie
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list