[R] Effeciently sum 3d table

David A Vavra davavra at verizon.net
Mon Apr 16 16:28:43 CEST 2012


I have a large number of 3d tables that I wish to sum
Is there an efficient way to do this? Or perhaps a function I can call?

I tried using do.call("sum",listoftables) but that returns a single value. 

So far, it seems only a loop will do the job.


TIA,
DAV



More information about the R-help mailing list