Skip to content
Prev 172960 / 398502 Next

merge data frames with same column names of different lengths and missing values

Steven Lubitz <slubitz1 <at> yahoo.com> writes:
sets (not the example I have here),
seem to like this. Here's a
item3=c(NA,2,NA,4,NA), id=1:5)
You should add dummy <NA> variables to each partial data frame
such that they look the same, and do the rbind later.

Dieter