child_of: Check parent

Description Usage Arguments Value

View source: R/simulation_functions.R

Description

Check if node descends from node "name"

Usage

1
child_of(node, name)

Arguments

node

The node of interest

name

The name to look for in the nodes ancestry

Value

boolean whether one of nodes ancestors has the specified name


cfhammill/hierarchyTrees documentation built on Feb. 8, 2020, 2:54 a.m.