yes I am using the rollMean function with trim =false and na.rm = true, it works but it removes the na's from the results... -- View this message in context: http://n4.nabble.com/Na-omit-on-matrix-does-the-matrix-have-to-have-a-limited-size-tp1068000p1100114.html Sent from the R help mailing list archive at Nabble.com.