Rdocumentation
powered by
Learn R Programming
NetRep (version 1.0.2)
simplifyList: Remove unnecessary list structure
Description
Removes entries that are
NULL
are extracts element if the length is 1.
Usage
simplifyList(l, depth)
Arguments
l
a nested list
depth
depth to traverse to
Value
a list