predict_Millar: Predict Millar's selectivity

View source: R/predict_Millar.R

predict_MillarR Documentation

Predict Millar's selectivity

Description

This function returns the predicted selectivity of a gillnet gang based Millar selectivity functions.

Usage

predict_Millar(
  rtype,
  classes,
  meshSizes,
  theta,
  rel.power = NULL,
  theta_min_mesh = 1
)

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.

@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.

Details

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.

Source

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

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.