leafs: Get leaf indices

View source: R/tree_manipulation.R

leafsR Documentation

Get leaf indices

Description

Get leaf indices

Usage

leafs(x, ...)

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

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

Arguments

x

phylo object

...

Arguments passed on to leafs.phylo

byname

logical Return leaf labels, rather than indices


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