Skip to content

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

2 messages · Steven Lubitz, Dieter Menne

#
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