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 joona.lehtomaki@gmail.com

Examples

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

zonator documentation built on July 8, 2020, 6:18 p.m.