rbind.fill {plyr} | R Documentation |
rbind
s a list of data frames filling missing
columns with NA.
rbind.fill(...)
... |
input data frames to row bind together. The first argument can be a list of data frames, in which case all other arguments are ignored. |
This is an enhancement to rbind
that adds
in columns that are not present in all inputs, accepts a
list of data frames, and operates substantially faster.
Column names and types in the output will appear in the order in which they were encountered. No checking is performed to ensure that each column is of consistent type in the inputs.
a single data frame
Other binding functions: rbind.fill.matrix
rbind.fill(mtcars[c("mpg", "wt")], mtcars[c("wt", "cyl")])