checkNdlst: Check if ndlst is correct

Description Usage Arguments Details See Also Examples

View source: R/check_methods.R

Description

Return T/F fpr ndlst consistency

Usage

1
checkNdlst(ndlst, root)

Arguments

ndlst

ndlst

root

root ID

Details

Tests whether each node in tree points to valid other node IDs. Also ensures 'spn' and 'root' are correct. Reports nodes that have errors.

See Also

fastCheckTreeMan, checkTreeMen

Examples

1
2
3
library(treeman)
tree <- randTree(100)
(checkNdlst(tree@ndlst, tree@root))

treeman documentation built on July 8, 2020, 7:28 p.m.