PCMTreeNumNodes {PCMBase}R Documentation

Number of all nodes in a tree

Description

Number of all nodes in a tree

Usage

PCMTreeNumNodes(tree)

Arguments

tree

a phylo object

Details

Wrapper for nrow(tree$edge) + 1

Value

the number of nodes in tree including root, internal and tips.


[Package PCMBase version 1.2.14 Index]