Skip to contents

calculate total number of nodes

Usage

getNodeNum(tree)

Nnode2(tree)

Arguments

tree

tree object

Value

number

Author

Guangchuang Yu

Examples

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