check_nb_TE {RoME}R Documentation

Consistency of number of individuals sampled for weight and ageing in TE

Description

The function checks the consistency of number of individuals sampled for weight and ageing in TE

Usage

check_nb_TE(DataTE, year, wd, suffix)

Arguments

DataTE

Individual biological data table according to MEDITS protocol (TE)

year

reference year for the analysis

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Details

this function verify the consistency of the check-fields:

These fields are compared to the number of records present in TE by sex, length class and haul.

Value

The function returns FALSE in case incosistances are detected in the individual biological data table (TE)

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


    wd <- tempdir()
    suffix="2020-03-05_time_h17m44s55"
    DataTE = RoME::TE
    year=2012
    check_nb_TE(DataTE,year, wd, suffix)


[Package RoME version 0.1.22 Index]