View source: R/rtypes_Millar.R
rtypes_Millar | R Documentation |
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.
rtypes_Millar(rtype, theta_min_mesh = NULL)
rtype |
a character string indicating which method for the estimation of selection
curves should be used:
|
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. |
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.
https://www.stat.auckland.ac.nz/~millar/selectware/
https://rdrr.io/cran/TropFishR/man/rtypes_Millar.html
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.