Description Usage Arguments Details Value Author(s) Examples
Delete infraspecific names and epithets form species names.
1 2 3 | strip.spec(x)
strip.infraspec(x, force.underscore = FALSE)
|
x |
a character string |
force.underscore |
logical, if |
strip.spec
and strip.infraspec
try to guess the separating character used; both " "
and "_"
are possible.
a character string
Christoph Heibl
1 2 3 4 5 6 7 8 | (name <- "Vipera aspis aspis")
(name2 <- strip.infraspec(name))
(name3 <- strip.spec(name2))
names.set <- c("Vipera aspis aspis",
"Vipera_aspis_atra")
sapply(names.set, strip.infraspec)
sapply(names.set, strip.infraspec, force.underscore = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.