I have 50 GLM objects from which I have created 50 lists and I wish to append them to each other. I have tried the command "rbind(mlist$cHA,mlist$cHB)" which was succeful to append the first 2, but how can I merge the entire list without listing them all? Thanks in advance -- View this message in context: http://r.789695.n4.nabble.com/Append-two-lists-tp4648224.html Sent from the R help mailing list archive at Nabble.com.
Hi> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of PavloEs > Sent: Friday, November 02, 2012 1:24 PM > To: r-help at r-project.org > Subject: [R] Append two lists > > I have 50 GLM objects from which I have created 50 lists and I wish to > append them to each other. I have tried the command > "rbind(mlist$cHA,mlist$cHB)" > which was succeful to append the first 2, but how can I merge the > entire list without listing them all??do.call do.call("rbind", mlist) Regards Petr> > Thanks in advance > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Append-two- > lists-tp4648224.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.
?do.call -- Ivan CALANDRA Universit? de Bourgogne UMR CNRS/uB 6282 Biog?osciences 6 Boulevard Gabriel 21000 Dijon, FRANCE +33(0)3.80.39.63.06 ivan.calandra at u-bourgogne.fr http://biogeosciences.u-bourgogne.fr/calandra Le 02/11/12 13:24, PavloEs a ?crit :> I have 50 GLM objects from which I have created 50 lists and I wish to append > them to each other. I have tried the command "rbind(mlist$cHA,mlist$cHB)" > which was succeful to append the first 2, but how can I merge the entire > list without listing them all? > > Thanks in advance > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Append-two-lists-tp4648224.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. >