Learn R Programming

plyr (version 1.5.2)

list_to_array: List to array.

Description

List to array. Reduce/simplify a list of homogenous objects to an array

Usage

list_to_array(res, labels, .drop=FALSE)

Arguments

res
list of input data
labels
a data frame of labels, one row for each element of res
.drop
should extra dimensions be dropped (TRUE) or preserved (FALSE)