View source: R/predict_Millar.R
predict_Millar | R Documentation |
This function returns the predicted selectivity of a gillnet gang based Millar selectivity functions.
predict_Millar(
rtype,
classes,
meshSizes,
theta,
rel.power = NULL,
theta_min_mesh = 1
)
rtype |
a character string indicating which method for the estimation of selection
curves should be used:
@param meshSizes a vector of gillnet mesh sizes in mm @param classes a vector of fork lengths (mm) for which you want to calculate selectivity @param theta a vector of selectivity parameters @param rel.power a vector of the relative fishing power of each mesh size @param theta_min_mesh the smallest mesh used in the fitting process to acquire theta values. Defaults to 1 which is RIC net smallest mesh used to fit BC nets. |
Function adapted from TropFishR and the selectivity functions provided by
Prof. Dr. Russell Millar (https://www.stat.auckland.ac.nz/~millar/).
This function might be useful if you are trying to use published fit values instead of your own fit.
Otherwise, you can access predictions within model fit attributes. e.g. models[[5]]$selection_ogive_mat
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/
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.