Learn R Programming

miscset (version 1.0.0)

do.rbind: Bind data.frames in a List by Rows

Description

Same as do.call(rbind, x), but adding a column with the name of each table. Missing names are replaced by integers.

Usage

do.rbind(x, idcol = "Name", keep.rownames = FALSE)

Arguments

x
List with data.frames. Non data.frame objects are dropped.
idcol
Name for column with ids in output.
keep.rownames
Logical, keep rownames.

Value

Returns a data.frame