Nnode.treedata: Nnode

Description Usage Arguments Value Author(s) Examples

View source: R/ape.R

Description

number of nodes

Usage

1
2
## 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

1
Nnode(rtree(30))

Example output

[1] 29

treeio documentation built on Nov. 21, 2020, 2:01 a.m.