strip_names | R Documentation |
Strip taxonomic names of taxon rank abbreviations and qualifiers and special characters
strip_names(taxon_names)
taxon_names |
A character vector of taxonomic names to be stripped. |
Given a vector of taxonomic names, this function removes:
subtaxa designations ("subsp.", "var.", "f.", and "ser")
special characters (e.g., "-", ".", "(", ")", "?")
extra whitespace
The resulting vector of names is also converted to lowercase.
A character vector of stripped taxonomic names, with subtaxa designations, special characters, and extra whitespace removed, and all letters converted to lowercase.
strip_names(c("Abies lasiocarpa subsp. lasiocarpa",
"Quercus kelloggii",
"Pinus contorta var. latifolia"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.