taxo_name | R Documentation |
Get the names of taxa from their ids
taxo_name(taxon_ids, taxo, unique = FALSE)
taxon_ids |
internal, numeric ids of the taxa. |
taxo |
a taxonomy data.frame, typically from |
unique |
force names to be unique by adding the parent name when needed. |
A vector names, one for each element of taxon_ids
.
Other taxonomy-related functions:
ancestors()
,
as.taxo()
,
children()
,
descendants()
,
extract_taxo()
,
is_leaf()
,
lineage()
,
parent()
,
taxo_id()
print(as.Node(taxo), "id")
taxo_name(5, taxo)
taxo_name(2:7, taxo)
taxo_name(2:7, taxo, unique=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.