R/tree-utilities.R
getNodeNum.Rd
calculate total number of nodes
getNodeNum(tree) Nnode2(tree)
tree object
number
Guangchuang Yu
getNodeNum(rtree(30)) #> [1] 59 Nnode2(rtree(30)) #> [1] 59