View source: R/list-to-dataframe.r
list_to_dataframe | R Documentation |
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.
list_to_dataframe(res, labels = NULL, id_name = NULL, id_as_factor = FALSE)
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, |
Other list simplification functions:
list_to_array()
,
list_to_vector()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.