calculate total number of nodes

getNodeNum(tree)

Nnode2(tree)

Arguments

tree

tree object

Value

number

Author

Guangchuang Yu

Examples

getNodeNum(rtree(30))
#> [1] 59
Nnode2(rtree(30))
#> [1] 59