check_nb_TE_rapana_rapana {RoMEBS} | R Documentation |
The function checks the consistency of number of individuals sampled for weight and ageing in TE (in the format for rapa whelk survey)
check_nb_TE_rapana(DataTE, wd, suffix)
DataTE |
Individual biological data table according to MEDITS protocol (TE in the format for rapa whelk survey) |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
this function verify the consistency of the check-fields:
NO_PER_SEX_MEASURED_IN_SUB_SAMPLE_FOR_OTOLITH
NO_PER_SEX_MEASURED_IN_SUB_SAMPLE_FOR_WEIGHT
NO_PER_SEX_MEASURED_IN_SUBSAMPLE_FOR_AGEING
These fields are compared to the number of records present in TE by sex, length class and haul.
The function returns FALSE in case incosistances are detected in the individual biological data table (TE in the format for rapa whelk survey)
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm
wd <- tempdir() suffix="2020-03-05_time_h17m44s55" DataTE = TE check_nb_TE_rapana(DataTE, wd, suffix)