thanks, man. And what a stupid mistake!!! Plus, do you know any package in R that perform good rolling estimation? -- View this message in context: http://n4.nabble.com/Help-with-Moving-Average-in-R-tp989627p989764.html Sent from the R help mailing list archive at Nabble.com.