Nnode.treedata: Nnode

View source: R/ape.R

Nnode.treedataR 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))

YuLab-SMU/tidytree documentation built on April 10, 2024, 9:25 a.m.