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))

YuLab-SMU/treeio documentation built on Nov. 3, 2024, 4:17 p.m.