check_sex_inversion {RoMEBS}R Documentation

Function to verify the consistency of sex information about hermaphrodite species.

Description

The user will be informed if information about sex-inversion size for hermaphrodite species (at the moment only for Pagellus spp. and Spicara spp.) is stored in Maturity parameters dataframe.

Usage

check_sex_inversion(Data,Maturity_parameters,wd,suffix)

Arguments

Data

alternatively: Biological data table (TC) and Individual data table (TE).

Maturity_parameters

Information related to sex and maturity from literature or other sources.

wd

Working directory selected by the user.

suffix

Suffix string of the Logfile.

Details

This last check is performed only for proteroginic and proterandrous target species; the user will be only informed if information about sex-inversion size for hermaphrodite species (at the moment only for Pagellus spp. and Spicara spp.) is present in Maturity parameters.csv (folder Tables) in order to be used by the user to check the sex data of these species.

Value

The function returns always TRUE, because the outcome of the function is a warning that does not lock the execution of the RoMEBS 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

library(MEDITS)
library(RoMEBS)
wd=tempdir()
suffix= "2020-03-05_time_h17m44s55"
check_sex_inversion(TC,Maturity_parameters,wd,suffix)

[Package RoMEBS version 0.3.0 Index]