Re: [R] Combine list element by column name to make a dataframe

2015-04-06 Thread Duncan Mackay
f New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Mohammad Tanvir Ahamed via R-help Sent: Monday, 6 April 2015 16:06 To: r-help@r-project.org Subject: [R] Combine list element by column name to m

Re: [R] Combine list element by column name to make a dataframe

2015-04-06 Thread Michael Hannon
Maybe something like the appended? -- Mike lst <- list(setNames(c(1,10,50,60,70,80), c("id","id1","math","phy","che","bio")), setNames(c(2,20,45), c("id","id1","phy")), setNames(c(3,30,75), c("id","id1","bio"))

Re: [R] Combine list element by column name to make a dataframe

2015-04-06 Thread peter dalgaard
> On 06 Apr 2015, at 08:05 , Mohammad Tanvir Ahamed via R-help > wrote: > > Hi ,� > > I have a example list like follow� > > > > > lst<-list(setNames(c(1,10,50,60,70,80),c("id","id1","math","phy","che","bio")),setNames(c(2,20,45),c("id","id1","ph

[R] Combine list element by column name to make a dataframe

2015-04-06 Thread Mohammad Tanvir Ahamed via R-help
Hi ,� I have a example list like follow� lst<-list(setNames(c(1,10,50,60,70,80),c("id","id1","math","phy","che","bio")),setNames(c(2,20,45),c("id","id1","phy")),setNames(c(3,30,75),c("id","id1","bio"))) My expected outcome :� -