PCMBase (version 1.2.14)

PCMTreeNumNodes: Number of all nodes in a tree

Description

Number of all nodes in a tree

Usage

PCMTreeNumNodes(tree)

Value

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

Arguments

tree

a phylo object

Details

Wrapper for nrow(tree$edge) + 1