Learn R Programming

tidytree (version 0.4.6)

Nnode.treedata: Nnode

Description

number of nodes

Usage

# S3 method for treedata
Nnode(phy, internal.only = TRUE, ...)

Value

number of nodes

Arguments

phy

treedata object

internal.only

whether only count internal nodes

...

additional parameters

Author

Guangchuang Yu

Examples

Run this code
Nnode(rtree(30))

Run the code above in your browser using DataLab