accessory_tax | R Documentation |
These accessory functions work for editing the notation of
scientific names and are mainly used within plantR function
fixSpecies()
.
rmOpen(x) rmInfra(x) rmHyb(x) addRank(x, rank = NULL)
x |
a vector with scientific names to be standardized. |
rank |
the expression or symbol to be added between names. |
The functions rmOpen()
, rmInfra()
, and rmHyb()
require only a
vector of scientific names, while the function addRank()
also requires a
rank
to be provided.
The function rmOpen()
removes the open nomenclature 'cf.' and 'aff.'.
The function rmInfra()
removes the infra-specific ranks from
varieties, sub-species and forms (e.g. 'var.', 'subsp.', 'f.')
The function rmHyb()
removes the hybrid symbol 'x'.
The function addRank()
does the opposite operation: it adds ranks, open
nomenclature or hybrid symbols into scientific names. For this function if
the number of ranks is equal to the number of names provided each rank is
assigned to the corresponding name. If the number of ranks is different,
the function silently uses the first rank for all names.
Sara Mortara & Renato A. F. de Lima
fixCase.
## Not run: rmOpen(c("Lindsaea cf. lancea", "Lindsaea aff. lancea")) ## End(Not run) ## Not run: rmInfra(c("Lindsaea lancea var. angulata", "Lindsaea lancea (L.) Bedd. var. angulata Rosenst.", "Lindsaea schomburgkii f. coriifolia (Lindm.) K.U. Kramer")) ## End(Not run) ## Not run: rmHyb(c("Blechnum ×antillanum", "Blechnum × antillanum", "Blechnum x antillanum", "Blechnum X antillanum")) ## End(Not run) ## Not run: addRank(c("Lindsaea lancea", "Lindsaea lancea angulata", "Lindsaea schomburgkii coriifolia", "Blechnum antillanum"), rank = c("cf.", "var.", "f.", "\u00d7")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.