Learn R Programming

plyr (version 1.5.2)

list_to_dataframe: List to data frame.

Description

List to data frame. Reduce/simplify a list of homogenous objects to a data frame. All NULL entries are removed. Remaining entries must be all atomic or all data frames.

Usage

list_to_dataframe(res, labels)

Arguments

res
list of input data
labels
a data frame of labels, one row for each element of res