PCMBase (version 1.2.10)

PCMTreeNumNodes: Number of all nodes in a tree

Description

Number of all nodes in a tree

Usage

PCMTreeNumNodes(tree)

Arguments

tree

a phylo object

Value

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

Details

Wrapper for nrow(tree$edge) + 1