I have a list of data.frames. It looks somehow like this:
> lst <- list(data.frame(a=c(1,2),b=c(33,44)),data.frame(a=c(2,3),b=c(55,66)))
> lst
[[1]]
a b
1 1 33
2 2 44
[[2]]
a b
1 2 55
2 3 66
Obviously, mine is longer (more than 20 items in list).
What I want to get is something like:
1 2 3
b.1 33 44 0
b.2 0 55 66
I tried with Reduce and merge, but wasn't really successfull so far...