Usage
CSRAfunc(lnF,Mc,hc,maxage,nyears,AFSc,AFCc,Linfc, Kc,t0c,AMc,ac,bc,vulnc,matc,MLc,CAL,CAA, opt=T,meth="ML")
Arguments
lnF
A proposed value of current instantaneous fishing mortality rate
Mc
Natural mortality rate estimates
hc
Steepness (Beverton-Holt stock recruitment)
nyears
Number of historical years of fishing
AFSc
Age at full selection
AFCc
Age at first capture
Linfc
Maximum length (von Bertalanffy growth)
Kc
Maximum growth rate (von Bertalanffy growth)
t0c
Theoretical age at length zero (von Bertalanffy growth)
ac
Length-weight conversion parameter a (W=aL^b)
bc
Length-weight conversion parameter b (W=aL^b)
vulnc
A vector (nage long) of the vulnerabilty at age (max 1) to fishing.
matc
A vector (nage long) of the maturity at age (max 1)
MLc
A current mean length estimates
CAL
A catch-at-length matrix nyears x (1 Linf unit) length bins
CAA
A catch-at-age matrix nyears x maximum age
opt
Should the measure of fit be returned?
meth
Are we fitting to mean length or catch composition?