list_remove_intermediate_level_by_name: Remove intermediate list by moving up the children by one...

Description Usage Arguments Value Examples

View source: R/chunks.R

Description

Remove intermediate list by moving up the children by one level

Usage

1

Arguments

l

list

n

list name of levels to be removed (but keeping children)

Value

list

Examples

1
2
3
4
5
## Not run: 
l <- list(a = 1, b = list('removeme' = 2))
list_remove_intermediate_level_by_name(l, 'removeme')

## End(Not run)

daroczig/dbr documentation built on June 12, 2020, 2:47 p.m.