See this: https://stat.ethz.ch/pipermail/r-help/2009-August/208002.html
On Sat, Aug 22, 2009 at 11:41 AM, kathie<kathryn.lord2...@gmail.com> wrote: > > 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. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.