check_consistencyTA_distance {RoMEBS}R Documentation

Consistency check of distance in TA

Description

The function checks whether the distances reported in the haul data (TA) are consistent with the hauls duration.

Usage

check_consistencyTA_distance(DataTA, wd, suffix)

Arguments

DataTA

Haul data table according to MEDITS protocol (TA)

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Details

Check between duration of the haul and distance (tolerance of 15%)

Value

The function returns a boolean value. It is FALSE in case one or more distances in the TA table are out the 15% of the tollerance from the expected values.

Author(s)

I. Bitetto, W. Zupa

References

Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm

Examples

library(MEDITS)
wd=tempdir()
suffix="2020-03-05_time_h17m44s55"
library(RoMEBS)
check_consistencyTA_distance(MEDITS::TA,wd,suffix)

[Package RoMEBS version 0.3.0 Index]