There is code for moving averages already in R. There is some information in the 'zoo' package.
?filter What specifically are you looking for? On Nov 20, 2007 11:53 PM, Kushal M Shah <[EMAIL PROTECTED]> wrote: > Hi Friends > > > > I am working on a Financial Model project in R and require help in > writing code for Moving Averages. Since I am very new to R, it would be > good if any seniors in the group can guide me on a proper moving average > code. > > > > Thanks & Best Regards, > > Kushal > > > > > > The information in this e-mail is the property of Eval...{{dropped:18}} ______________________________________________ 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.