taxval(obs, refl, db,
ag = c('conflict', 'adapt', 'preserve'),
rank, mono = c('species', 'higher', 'lower', 'preserve'), monolist = "monotypic-D",
maxtaxlevel = 'ROOT', check.critical = TRUE, interactive = FALSE, ...)
comb.species(x, sel, newname, refl)
tv.obs
tvabund.dbf
, tvhabita.dbf
and twin.set
"monotypic-D"
for the area of germany.tv.veg
tax
) the function will not work.Possible values for adapting the taxonomic hierarchy within the dataset (child/parent taxa) are: preserve
: Leave everything untouched. conflict
: Dissolve only in case of conflicts, e.g. if a subspecies occurrs also at the species level within the same dataset. In this case the subspecies will be aggregated to the higher level. adapt
: Dissolve all nested taxa to e.g. species level for option ag. For this option also option rank
, specifying the rank to which the taxa shall be adapted, must be given.
Monotypic taxa, e.g. a species which occur only with 1 subspecies in the survey area. They have to be combined, since otherwise two different (valid) taxa would denominate the same entity. If lower the higher taxon (e.g. species rank) is replaced by the lower level (subspecies rank). If neither lower
nor higher
monotypic species are preserved. Since the list of monotypic species strongly depends on the considered area you have to choose, which area is covered by your database and create an appropriate list of monotypic taxa. Within the package "monotypic-D.dbf"
is provided as a compilation of monotypic species within the GermanSL list (see tv.mono
.
Option maxtaxlevel determines the maximum taxonomic level within the given names, which should be used. All higher taxon observations are deleted. If you have a single field observation determined as Asteraceae spec. all your obervations of taxa from that family will be aggregated to the family level, if you choose ag=conflict.
Interactive
If you want to manually adapt the taxonomic harmonization interactive=TRUE
will create a table with all original names and NewTaxonID's according to the chosen rules. The table will be saved as taxvalDecisionTable.csv in your actual working directory. You can manipulate the column NewTaxonID. If you run taxval again (e.g. through function tv.veg) and a file with this name exist in your working directory, it will be used.
tv.veg
, tv.obs
# Turboveg installation needed
obs <- taxval(db='taxatest')
## For explanations see vignette('vegdata').
veg <- tv.veg('taxatest')
veg <- comb.species(veg, c('ARMEM-E','ARMEM-H'))
Run the code above in your browser using DataLab