tv.write: Write species-plot observations and site information to Turboveg database.
Description
Write species-plot observations and site information to Turboveg database.Usage
tv.write(x, site, name, cover = c("code", "perc"), overwrite = FALSE, ...)
Arguments
x
Either observations data.frame with RELEVE_NR, TaxonUsageID and COVER_CODE columns or vegetation matrix of class "veg".
site
Header data for plots.
name
Name of the database.
cover
Use of covercodes or (mean) cover percentages, see Details.
overwrite
Logical. Should an existing database be overwritten.
Value
- A dataframe of species occurences is written in dbase format into the Data directory of the specified Turboveg installation. Accordingly the header data information (tvhabita.dbf) is written to this directory and an empty file remarks.dbf is copied from the sample dataset.
Details
By default covercode are written to Turboveg. This is only meaningful, if correct coverscales are stored in the site dataframe. In case of e.g. VegetWeb data it is better to choose percentage cover (and Cover code 00) for Turboveg).