nTips {phylobase}R Documentation

nTips, nNodes, nEdges

Description

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

Usage

nTips(x)

## S4 method for signature 'phylo4'
nTips(x)

## S4 method for signature 'phylo'
nTips(x)

nNodes(x)

## S4 method for signature 'phylo4'
nNodes(x)

nEdges(x)

## S4 method for signature 'phylo4'
nEdges(x)

Arguments

x

a phylo4 or phylo4d object

Details

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

Value

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


[Package phylobase version 0.8.12 Index]