[R] cumsum in 3d arrays

zloncaric zloncaric at biologija.unios.hr
Sat Nov 26 15:32:10 CET 2011


Hello!

Is it posible to apply /cumsum()/ along the 3rd dimension of 3D array? 
Something like matrlab function - /cumsum (*A*,dim)/ which returns the
cumulative sum of the elements along the dimension of *A* specified by
scalar dim.

Thanks in advance 

Željka



--
View this message in context: http://r.789695.n4.nabble.com/cumsum-in-3d-arrays-tp4110470p4110470.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list