View source: R/tree_manipulation.R
leafs | R Documentation |
Get leaf indices
leafs(x, ...)
## S3 method for class 'Strata'
leafs(x, ...)
## S3 method for class 'phylo'
leafs(x, byname = FALSE, ...)
x |
phylo object |
... |
Arguments passed on to |
byname |
logical Return leaf labels, rather than indices |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.