View source: R/higherTaxaCodes.R
relative_taxon_code_position | R Documentation |
The relative position of a taxon is [number of preceding Key steps] + 1
, or NA
if it does not exist in the lookup table.
relative_taxon_code_position(code)
code |
A character vector of taxon codes to determine the relative position of. |
A numeric vector with the relative position of each code with respect to their individual Keys.
# "ABCD" -> "Gypsic Anhyturbels", relative position 7
# "WXYZa" does not exist, theoretical position is 97
# "BAD" -> "Udifolists", relative position is 5
relative_taxon_code_position(c("ABCD", "WXYZa", "BAD"))
# [1] 7 NA 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.