leaf_tags: Find all the leaf tags in a potentially nested list. The...

Description Usage Arguments Value Author(s) Examples

View source: R/utilities.R

Description

Find all the leaf tags in a potentially nested list. The generic form of a list is tag = value; find all the tags in a list.

Usage

1
leaf_tags(x, omit_sections = FALSE)

Arguments

x

List to be searched.

omit_sections

Logical indicating if sections should be omitted from vector names.

Value

Characted vector of tags.

Author(s)

Joona Lehtomaki [email protected]

Examples

1
2
l <- list("a" = 1, "b" = list("c" = 3, "d" = 4), "e" = 5)
leaf_tags(l)

zonator documentation built on Dec. 17, 2017, 5:03 p.m.