[R] moving or running average
Bert Gunter
gunter.berton at gene.com
Mon Jan 7 17:09:21 CET 2008
You may also wish to consider runmed(), which is a more robust running
median, and is automatically available as part of the stats package.
Bert Gunter
Genentech Nonclinical Statistics
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Jared O'Connell
Sent: Monday, January 07, 2008 7:38 AM
To: Abu Naser
Cc: r-help at r-project.org
Subject: Re: [R] moving or running average
I'm assuming the package installed correctly (I've only ever installed
packages from within R)....
Have you loaded the zoo package before calling rollmean?
ie.
> library(zoo)
On Jan 7, 2008 4:31 PM, Abu Naser <likhonnaser at hotmail.com> wrote:
>
>
> Hi Jerad,
>
> Thanks for your quick response. I have installed the zoo using
>
> R CMD INSTALL zoo_1.4-1.tar.gz but the R could not recognize rollmean-
> wondering why?
>
> With regards,
> Abu
>
>
>
>
>
>
>
>
> _________________________________________________________________
> [[replacing trailing spam]]
>
>
> ______________________________________________
> 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.
>
______________________________________________
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