check_step_length_distr {RoMEBS}R Documentation

The function verifies that in TC the length measures are reported with the correct precision.

Description

Fishes and cephalopods length classes must have full or half step (in case of LENGTH_CLASSES_CODE=1 only full). All the measures , must be integer numbers.

Usage

check_step_length_distr(ResultData,wd,suffix)

Arguments

ResultData

alternatively: Biological data table (TC) and Individual data table (TE).

wd

Working directory selected by the user.

suffix

Suffix string of the Logfile.

Details

According to the MEDITS proptocol, Fishes and cephalopods length measurement must collected full or half step and all the measures , must be integer numbers.

Value

The function returns TRUE if no error occurs, while FALSE is returned when the step is not correctly used. In the logfile is reported the list of all the records in which the inconsistency is detected.

Author(s)

I. Bitetto, W. Zupa

References

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

Examples

library(MEDITS)
library(RoMEBS)
wd=tempdir()
suffix= "2020-03-05_time_h17m44s55"
check_step_length_distr(TC,wd,suffix)

[Package RoMEBS version 0.3.0 Index]