Learn R Programming

vegdata (version 0.9.12)

tv.site: Load site data from Turboveg Database

Description

Loading Turboveg header data and do basic data evaluation. Empty columns are eliminated and warnings about possibly wrong '0' values are performed

Usage

tv.site(db, tv_home, drop=TRUE, common.only = FALSE, verbose = TRUE, replace.names, ...)

Value

data.frame of site variables.

Arguments

db

(character) Name of your Turboveg database(s). Directory name containing tvabund.dbf, tvhabita.dbf and tvwin.set.

tv_home

(character) Turbowin installation path. Optional, if Turbowin is either on "C:/Turbowin" or "C:/Programme/Turbowin".

drop

(logical) Drop variables without values.

common.only

(logical) Import only header data with the same name in all databases.

verbose

(logical) print warnings and hints

replace.names

(data.frame) replace variable names. Useful if using multiple source databases. Data frame with names to be replaced in first and replacing names in second column.

...

Additional options like dec for type.convert

Author

Florian Jansen florian.jansen@uni-rostock.de

Details

Please specify pathnames below but not above Turbowin/Data. Can be a single database or a character vector of multiple databases. In the latter case you have to assure, that all databases use the same taxonomic reference list.

You can use the example in the final output line to make a summary statistic for attributes with potentially misleading '0' values. Just delete the \" at beginning and end.