check_nb_TE_rapa {RoMEBS} | R Documentation |
The function checks the consistency of number of individuals sampled for weight and ageing in TE table in rapa whelk survey data
check_nb_TE_rapa(DataTE, wd, suffix)
DataTE |
Individual biological data table according to MEDITS protocol modified for rapa whelk data (TE) |
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_HARD_STRUCTURE
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 and haul.
The function returns FALSE in case incosistances are detected in the individual biological data table (TE)
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_rapa(DataTE, wd, suffix)