Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

list_to_array

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

Tools for Splitting, Applying and Combining Data

v1.8.6
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.