Description Usage Arguments Value See Also Examples
Strips the epitheton from a Linnean binomial and return the genus name.
1 | strip.spec(x, mode = "strsplit")
|
x |
A vector of mode |
mode |
A vector of mode |
A vector of mode "character"
containing genus names.
1 2 3 4 5 6 7 | strip.spec("Megaptera_novaengeliae")
## separating characters cannot be mixed!
spec <- c("Megaptera_novaengeliae", "Megaptera novaeangliae")
strip.spec(spec) # does not work
strip.spec(gsub("_", " ", spec)) # this works
strip.spec(gsub(" ", "_", spec)) # this works
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.