list-processing {collapse}R Documentation

List Processing

Description

collapse provides the following set of functions to efficiently work with lists of R objects:

Table of Functions

Function Description
is_unlistable Checks if list is unlistable
ldepth Level of nesting / maximum depth of list-tree
has_elem Checks if list contains a certain element
get_elem Subset list / extract certain elements
atomic_elem Top-level subset atomic elements
list_elem Top-level subset list/list-like elements
reg_elem Recursive version of atomic_elem: Subset / extract 'regular' part of list
irreg_elem Subset / extract non-regular part of list
rsplit Recursively split vectors or data frames / lists
t_list Transpose lists of lists
rapply2d Recursively apply functions to lists of data objects
unlist2d Recursively unlist/row-bind lists of data objects in 2D, to data frame or data.table
rowbind Non-recursive binding of lists of lists / data.frames.

See Also

Collapse Overview


[Package collapse version 2.0.15 Index]