Purrr
Implementation¶
Run multiple functions with the same parameters¶
Functions¶
pluck()¶
get or set an element deep within a nested data structure
- Same as
x[[1]][[2]]
compact()¶
compact() discards elements where .p evaluates to an empty vector
flatten()¶
Flattening a list removes a single layer of internal hierarchy, i.e. it inlines elements that are lists leaving non-lists alone.