strata_map | R Documentation |
Apply f to each outgroup branch ascending node id, returning a list
strata_map(strata, f, ...)
strata |
Strata object |
f |
A function of a phylo object that may return anything |
... |
Additional arguments passed to f |
A named list, with names corresponding to phylostrata
data(arabidopsis_strata)
# count the number of species in each stratum
unlist(strata_map(arabidopsis_strata, nleafs))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.