Learn R Programming

GNGTools (version 1.0.0)

list_to_dataframe: List to data frame from plyr

Description

List to data frame from plyr

Usage

list_to_dataframe(res, labels = NULL, id_name = NULL, id_as_factor = FALSE)

Value

A list is converted to a data.frame

Arguments

res

list of input data

labels

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

id_name

the name of the index column, NULL for no index column

id_as_factor

Logical