rbind.fill {plyr} | R Documentation |
rbind
s a list of data frames filling missing columns with NA
rbind.fill(...)
... |
data frames to row bind together |
This is a minor enhancement to rbind
which adds in columns
that are not present in all inputs.
Hadley Wickham <h.wickham@gmail.com>
rbind.fill(mtcars[c("mpg", "wt")], mtcars[c("wt", "cyl")])