getNodesAtLevel: Get all the nodes at a specified level in the tree

Description Usage Arguments

View source: R/tree.helper.r

Description

Given a tree and a desired level, returns all nodes at the specified level. This is useful for interface building purposes but not a normal tree traversal operation.

Usage

1
getNodesAtLevel(tree, level)

Arguments

tree

the tree you want to get data from

level

the level of the tree you want to get


cwhd/hdm-r documentation built on May 6, 2019, 8 p.m.