nodes: Get node indices

View source: R/tree_manipulation.R

nodesR Documentation

Get node indices

Description

Get node indices

Usage

nodes(x, ...)

## S3 method for class 'Strata'
nodes(x, ...)

## S3 method for class 'phylo'
nodes(x, rebase = FALSE, byname = FALSE, ...)

Arguments

x

phylo object

...

Arguments passed on to nodes.phylo

rebase

logical Make indices base 1

byname

logical Return node labels, rather than indices


arendsee/phylostratr documentation built on Dec. 23, 2024, 1:31 p.m.