Description Usage Arguments Value Examples
Loops through an iterative list and rearranges data structures. Accumulates structures of the same
name into a subsetted list which can be accessed using $
.
See is_iterative_list
to see what qualifies.
1 | extract_list(l, rbind = TRUE, recursive = TRUE)
|
l |
a list |
rbind |
logical; if TRUE rbinds/stacks all extracted elements into a data.table (if they are data frames); else they are returned as lists. Elements that are not data frames are returned as lists |
recursive |
logical; if TRUE extraction applied to list components of x |
a list
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.