[R] computation of matrices in list of list
kathie
kathryn.lord2000 at gmail.com
Sat Aug 22 17:41:13 CEST 2009
Dear R users,
I have the list as follows;
#------------------------------------------------------
> z
[[1]]
[[1]][[1]]
matrix(A)
[[1]][[2]]
matrix(B)
[[1]][[3]]
matrix(C)
[[2]]
[[2]][[1]]
matrix(D)
[[2]][[2]]
matrix(E)
[[2]][[3]]
matrix(F)
#---------------------------------------------
I'd like to compute
matrix(A)+matrix(B)+matrix(C)+matrix(D)+matrix(E)+matrix(F)
In fact, I tried "lapply", "do.call" etc, but failed.
Any suggestion will be greatly appreciated.
Regards,
Kathryn Lord
--
View this message in context: http://www.nabble.com/computation-of-matrices-in-list-of-list-tp25094875p25094875.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list