rtypes_Millar: Millar's selectivity types

View source: R/rtypes_Millar.R

rtypes_MillarR Documentation

Millar's selectivity types

Description

This function returns a function corresponding to the type of curve which was selected to represent the selectivity of nets or hooks. COde taken from TropFIshR and manipulated slightly to allow for flexibility between fitting and predicting mesh sizes.

Usage

rtypes_Millar(rtype, theta_min_mesh = NULL)

Arguments

rtype

a character string indicating which method for the estimation of selection curves should be used: "norm.loc" for normal with common spread method, "norm.sca" for normal with variable spread method, "lognorm" for lognormal method, "binorm.sca" for bi-normal method, "bilognorm" for bi-lognormal method, "tt.logistic" for control and logistic method, "gamma" for gamma method.

theta_min_mesh

a number indicating the smallest mesh size used in fitting, as all parameters are set as relative values to the smallest mesh size. Setting this value is necessary, when predicting selctivivity for a set of mesh sizes that exclude the original smallest mesh in the fit. In SPDT package must use 1, because this is the smallest mesh used in BC RIC nets for the fitting of parameters.

Details

Function adapted from the selectivity functions provided by Prof. Dr. Russell Millar (https://www.stat.auckland.ac.nz/~millar/). Until now following curves are incorporated: "norm.loc" for a normal curve with common spread, "norm.sca" for a normal curve with variable spread, "lognorm" for a lognormal curve, "binorm.sca" for a bi-normal curve, "bilognorm" for a bi-lognormal curve, "tt.logistic" for a control and logistic curve.

Source

https://www.stat.auckland.ac.nz/~millar/selectware/

https://rdrr.io/cran/TropFishR/man/rtypes_Millar.html

References

Millar, R. B., Holst, R., 1997. Estimation of gillnet and hook selectivity using log-linear models. ICES Journal of Marine Science: Journal du Conseil, 54(3), 471-477.


PAskey/SPDT documentation built on May 31, 2024, 12:21 a.m.