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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jared O'Connell Sent: Monday, January 07, 2008 7:38 AM To: Abu Naser Cc: [email protected] 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 <[EMAIL PROTECTED]> 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]] > > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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. ______________________________________________ [email protected] 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.

