[R] Contatenating data frames with partial overlap in variable names

hadley wickham h.wickham at gmail.com
Sun Mar 25 05:11:23 CEST 2007


On 3/24/07, Daniel Folkinshteyn <dfolkins at temple.edu> wrote:
> Greetings to all.
> I need to concatenate data frames that do not have all the same variable
> names, there is only a partial overlap in the variables. So, for
> example, if i have two data frames, a and b, that look like the following:

Have a look at rbind.fill in the reshape package.

Hadley



More information about the R-help mailing list