powered by
Return T/F fpr ndlst consistency
ndlst
checkNdlst(ndlst, root)
root ID
Tests whether each node in tree points to valid other node IDs. Also ensures `spn` and `root` are correct. Reports nodes that have errors.
fastCheckTreeMan, checkTreeMen
fastCheckTreeMan
checkTreeMen
# NOT RUN { library(treeman) tree <- randTree(100) (checkNdlst(tree@ndlst, tree@root)) # }
Run the code above in your browser using DataLab