list_to_array: List to array.

View source: R/list-to-array.r

list_to_arrayR Documentation

List to array.

Description

Reduce/simplify a list of homogenous objects to an array

Usage

list_to_array(res, labels = NULL, .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)

See Also

Other list simplification functions: list_to_dataframe(), list_to_vector()


plyr documentation built on Oct. 2, 2023, 9:07 a.m.