read_ref | R Documentation |
This function reads and checks files with reference values
read_ref(filename, indicators = c("S", "H", "AMBI")) validate_ref(.data, indicators = c("S", "H", "AMBI"))
filename |
name of the habitat reference file ( |
indicators |
indicators to be processed ( |
.data |
table in REF-format |
The function performs the following tasks:
checks the existence of filename
;
checks availablitity of required columns (case insensitive);
removes redundant spaces
removes duplicated records
Argument indicators
is a character
vector of additional benthic
indicators to be checked for. For example, if indicators = "ITI"
, then
the habitat reference file should also contain columns ITIREF and ITIBAD.
Implemented indicators are N, LNN, S, D, SN, SNA, H, L, AMBI, ITI, PIE, N2 (see package vignette).
The format of the habitat reference file is documented in the BEQI2-package vignette.
validate_ref()
: validator for REF-format
Van Loon, W, 2013. Loon2013-BEQI2-Specs-Ecotopes-27nov.doc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.