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.6.2 Index]