getNodeNum: getNodeNum

View source: R/tree-utilities.R

getNodeNumR Documentation

getNodeNum

Description

calculate total number of nodes

Usage

getNodeNum(tree)

Nnode2(tree)

Arguments

tree

tree object

Value

number

Author(s)

Guangchuang Yu

Examples

getNodeNum(rtree(30))
Nnode2(rtree(30))

GuangchuangYu/treeio documentation built on Oct. 31, 2024, 10:13 a.m.