phylobase (version 0.8.2)

nTips: nTips, nNodes, nEdges

Description

Number of tips, nodes and edges found in a tree.

Usage

nTips(x)
"nTips"(x)
"nTips"(x)
nNodes(x)
"nNodes"(x)
nEdges(x)
"nEdges"(x)

Arguments

x
a phylo4 or phylo4d object

Value

a numeric vector indicating the number of tips, nodes or edge respectively.

Details

Function to return the number of tips, nodes and edges found in a tree in the phylo4 or phylo4d format.