rbind.fill {plyr}R Documentation

Combine objects by row, filling in missing columns

Description

rbinds a list of data frames filling missing columns with NA

Usage

rbind.fill(...)

Arguments

... data frames to row bind together

Details

This is a minor enhancement to rbind which adds in columns that are not present in all inputs.

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

rbind.fill(mtcars[c("mpg", "wt")], mtcars[c("wt", "cyl")])

[Package plyr version 0.1.5 Index]