Nnode.treedata {treeio}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 treeio version 1.17.2 Index]