Learn R Programming

ecr (version 2.1.1)

reduceToSingleDataFrame: Combine multiple data frames into a single data.frame.

Description

Combine multiple data frames into a single data.frame.

Usage

reduceToSingleDataFrame(res = list(), what = NULL, group.col.name)

Arguments

res

[list]
List of data frames or other lists which contain a data frame as one of the components which is selected by what. If res is a named list those names are used to fill the group column. Otherwise the names are 1 to length(res) by default.

what

[character(1)]
Which component of each list element in res to choose. Set this to NULL, if res is not complex, i.e., is not a list of lists.

group.col.name

[character(1)]
Name for the grouping column.