list_up_tree: List Up Tree

Description Usage Arguments Details Value Examples

View source: R/tree_funs.r

Description

Recursive function to be applied to a tree node, will aggregate a specified *list* from all child nodes, and grandchildren etc

Usage

1
list_up_tree(node, property)

Arguments

node

data.tree node, for which a specified quantity is aggregated

property

name of a property to be aggregated

Details

Works as a side effect, output does not need to be assigned

Value

a data.tree with <property>_agg as a property

Examples

1
list_up_tree(node = taxonomy_tree, property = "name")

mattmalcher/gov.uk.taxonomy documentation built on Jan. 25, 2020, 12:45 a.m.