is_coherent_tree: Checks if a data.tree is coherent, i.e. all child nodes sum...

View source: R/data_tree_tools.R

is_coherent_treeR Documentation

Checks if a data.tree is coherent, i.e. all child nodes sum correctly to their parent nodes

Description

Checks if a data.tree is coherent, i.e. all child nodes sum correctly to their parent nodes

Usage

is_coherent_tree(tree, attribute, tol = 0.001)

Arguments

tree

a data.tree object

attribute

the attribute to test for coherency (needs to be numeric!)

tol

simschul/my.utils documentation built on June 29, 2023, 6:50 a.m.