check_spawning_period {RoME} | R Documentation |
The mature individuals caught outside the spawning are detected; moreover, the mature individuals caught outside the spawning with size smaller than the size of smallest mature individual in bibliography and the immature individuals caught during the reproductive period, but with size greater than maximum L50 + 0.2 * L50 are detected.
check_spawning_period(ResultDataTA,ResultDataTC,year, Maturity_parameters,DataTargetSpecies,wd,suffix)
ResultDataTA |
Haul data table(TA). |
ResultDataTC |
alternatively: Biological data table (TC) and Individual data table (TE). |
year |
reference year for the analysis |
Maturity_parameters |
Information related to sex and maturity from literature or other sources. |
DataTargetSpecies |
Information related to reference species. |
wd |
Working directory selected by the user. |
suffix |
Suffix string of the Logfile. |
In this checks are involved the information stored in Maturity_parameters data.frame about the L50 and spawning period is used.)
The function returns always TRUE, because the outcome of the function is a warning that does not lock the execution of the 'RoME' checks.
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" year=2007 TA <- RoME::TA TA <- RoME::TC check_spawning_period(TA,TC,year,Maturity_parameters,DataTargetSpecies,wd,suffix)