Taxon lists may be provided in data frame format, which will be converted to a
1 2 3 4 5 6 7 8
A data frame or a character vector with taxon names.
A logical vector indicating accepted names with value
Additional vectors to be added as columns in slot
In the method
'data.frame', the input data frame must have following
Numeric code for the name.
Numeric code for the concept.
Full name (usage), excluding author name.
Author of the combination (taxon name).
If the argument
'AcceptedName' is missing, all names will be assumed as
In the alternative
'character' method, author names have to be added as
Be aware that the resulting object misses any information on taxon views, basionyms, parent concepts, hierarchical levels and taxon traits. All those elements can be added a posteriori by further functions provided in this package.
Miguel Alvarez, [email protected].
1 2 3 4 5 6 7 8 9 10 11 12 13 14
library(taxlist) ## Read the table with names of Cyperus species Cyperus <- read.csv(file.path(path.package("taxlist"), "cyperus", "names.csv"), stringsAsFactors=FALSE) head(Cyperus) ## Convert to 'taxlist' object Cyperus <- df2taxlist(Cyperus, AcceptedName=!Cyperus$SYNONYM) summary(Cyperus) ## Create a 'taxlist' object from character vectors Plants <- df2taxlist(c("Triticum aestivum","Zea mays"), AuthorName="L.") summary(Plants, "all")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.