check_spawning_period {RoME}R Documentation

Function to check the consistency of the maturity stages according to the spawning period.

Description

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.

Usage

check_spawning_period(ResultDataTA,ResultDataTC,year,
Maturity_parameters,DataTargetSpecies,wd,suffix)

Arguments

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.

Details

In this checks are involved the information stored in Maturity_parameters data.frame about the L50 and spawning period is used.)

Value

The function returns always TRUE, because the outcome of the function is a warning that does not lock the execution of the 'RoME' checks.

Author(s)

I. Bitetto, W. Zupa

References

Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp. http://www.sibm.it/MEDITS 2011/principaledownload.htm

Examples

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)

[Package RoME version 0.1.22 Index]