Learn R Programming

tidytree (version 0.4.6)

getNodeNum: getNodeNum

Description

calculate total number of nodes

Usage

getNodeNum(tree)

Value

number

Arguments

tree

tree object

Author

Guangchuang Yu

Examples

Run this code
getNodeNum(rtree(30))

Run the code above in your browser using DataLab