R: Check if ndlst is correct

checkNdlst {treeman} | R Documentation

## Check if ndlst is correct

### Description

Return T/F fpr `ndlst` consistency

### Usage

    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

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

[Package treeman version 1.1.4 Index]