LBSPR_NLLgtg {LBSPR} | R Documentation |
LBSPR Optimization function for GTG model
Description
Internal optimization function
Usage
LBSPR_NLLgtg(
starts,
LMids,
LBins,
LDat,
gtgLinfs,
MKMat,
MK,
Linf,
ngtg,
recP,
usePen
)
Arguments
starts |
a vector of starting parameters, relative SL50 (SL50/Linf), deltaSL (SL95-SL50)/Linf, and F/M (in log space) |
LMids |
a vector of the midpoints of the length classes |
LBins |
a vector of length classes |
LDat |
a vector of lenght frequencies. Must be same length as LMids |
gtgLinfs |
a vector of Linfs for the growth-type-groups |
MKMat |
a matrix of M/K for each GTG and length-class |
MK |
the M/K value |
Linf |
the Linf value for the population as a hole |
ngtg |
the number of growth-type-groups |
recP |
a vector of recruitment by GTG |
usePen |
logical to use penalty for extreme estimates of selectivity |
Value
negative log-likelihood value
Author(s)
A. Hordyk
[Package LBSPR version 0.1.6 Index]