PCMTreeNumNodes: Number of all nodes in a tree

View source: R/PCMTree.R

PCMTreeNumNodesR 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.


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.