[R] rollmean()

Rheannon rbrooks at uvic.ca
Wed Jul 9 18:50:39 CEST 2008


I am trying to calculate a 31 day running mean in some temperature data
along ROWS. Rollmean() works great along columns, but how do I perform this
same action on my rows?

The data is a matrix of 365 columns (days of the year) by 5,000 rows
(lat/long coordinates).
I would like to perform a 31 day running mean along the 365 days.

I am new to R so any help would be greatly appreciated!

Thanks alot,
View this message in context: http://www.nabble.com/rollmean%28%29-tp18366044p18366044.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list