check_TE_TC {RoME} | R Documentation |
Check if the individuals by species, length, sex and maturity stage reported in TE are less than the number reported in TC
check_TE_TC(ResultDataTC,ResultDataTE,year,wd,suffix)
ResultDataTC |
Biological data table(TC). |
ResultDataTE |
Individual data table (TE). |
year |
reference year for the analysis. |
wd |
Working directory selected by the user. |
suffix |
Suffix string of the Logfile. |
This function gives an error message, thus the execution is stopped if in TE are reported individuals not present in TC and if the number of individuals reported in TE is greater than the ones in TE; the user is informed in the Logfile.
The function returns TRUE if there is no error, while FALSE if there is one or more errors.The run, in case of error, thus, is stopped.
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp. http://www.sibm.it/MEDITS 2011/principaledownload.htm
wd=tempdir() suffix= "2020-03-05_time_h17m44s55" tc <- RoME::TC te <- RoME::TE year=2012 check_TE_TC(tc,te,year,wd,suffix)