yes ,Ma in forecast package does works but when the data included NA,NAN or
INF ,it could not go on calculating the running


2013/6/12 Rui Barradas <ruipbarra...@sapo.pt>

> Hello,
>
> You can use, for instance, function ma() in package forecast.
>
> # if not yet installed
> #install.packages('forecast', dependencies = TRUE)
> library(forecast)
>
> ?ma
>
>
> Hope this helps,
>
> Rui Barradas
>
>
> Em 12-06-2013 08:21, Jie Tang escreveu:
>
>  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
Email: totang...@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to