These functions generate various other functions for making computations under various assumptions about the underlying selection curve.

1 2 3 4 5 6 7 8 9 |

`sel.curves`

is a list with the names of the five
selection curve functions.

For `norm.loc`

, `norm`

, `lognorm`

,
`gamm`

, and `inv.gau`

, a list of functions:

loglinpredictors calculates the predictors used in log-linear model fitting

off calculates the offset term for log-linear model fitting

selcurvparams calculates the parameters of the selection curve from the coefficients of the terms in the log linear model

curv calculates a matrix of values from the selection curve from two matrices of the same size giving the fish lengths and mesh sizes

peak calculates the peak of the selection curve for different mesh sizes

Steve Walker

1 2 3 | ```
data(north.pike)
np <- make.catch(north.pike$MESH, north.pike$FLEN)
lapply(sel.curves, function(x) fit.catch(np, eval(x)))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.