get_binomial | R Documentation |
Extract the binomial name (Genus + specific epithet + infraspecific epithet (optional)) from a full Scientific Name
get_binomial(species_names,
include_subspecies = TRUE,
include_variety = TRUE)
species_names |
(character) Scientific names to be converted to binomial names |
include_subspecies |
(logical) include subspecies? If TRUE (default), the function extracts any infraspecific epithet after the pattern "subsp." |
include_variety |
(logical) include subspecies? If TRUE (default), the function extracts any infraspecific epithet after the pattern "var." |
A vector with the binomial names (Genus + specific epithet).
spp <- c("Araucaria angustifolia (Bertol.) Kuntze",
"Araucaria angustifolia var. alba Reitz",
"Butia catarinensis Noblick & Lorenzi",
"Butia eriospatha subsp. punctata",
"Adesmia paranensis Burkart")
spp_new <- get_binomial(species_names = spp,
include_subspecies = TRUE,
include_variety = TRUE)
spp_new
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.