Nnode.treedata {tidytree}R Documentation

Nnode

Description

number of nodes

Usage

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

Arguments

phy

treedata object

internal.only

whether only count internal nodes

...

additional parameters

Value

number of nodes

Author(s)

Guangchuang Yu

Examples

Nnode(rtree(30))

[Package tidytree version 0.4.6 Index]