View source: R/methodsAssess.R
lbsprWrapper | R Documentation |
Hordyk, A.R., Ono, K., Prince, J.D., Walters, C.J., 2016. A simple length-structured model based on life history ratios and incorporating size-dependent selectivity: application to spawning potential ratios for data-poor stocks. Can. J. Fish. Aquat. Sci. 73, 1787–1799. https://doi.org/10.1139/cjfas-2015-0422
lbsprWrapper(
LifeHistoryObj,
LengthCompObj,
Lc = 0,
binWidth = 1,
cvLinf = 0.1,
byGroup = FALSE,
modtype = "GTG"
)
LifeHistoryObj |
A LifeHistory object from fishSimGTG. |
LengthCompObj |
A LengthComp object |
Lc |
A minimum size limit in the same units of measure (L_units) and type of measurement (L_type) as the corresponding LengthComp object. Only used for analysis of fishery-independent length composition data. |
binWidth |
Used to create length-frequencies when LengthComp dataType is raw lengths. |
cvLinf |
Variability in Linf, used in LBSPR fitting. Default value same as that used in LBSPR library |
byGroup |
A logical indicating whether quantity is to be calculated separately for each of multiple length comp groups (TRUE) or to length comp is to be pooled across groups prior to calculating quantity (default = FALSE). When TRUE, pooling is ignored if only a single group exists. |
modtype |
From function LBSPR::LBSPRfit, either Growth-Type-Group Model (default: "GTG") or Age-Structured ("absel") |
library(fishSimGTG)
library(LBSPR)
lbsprWrapper(fishSimGTG::LifeHistoryExample, fishLengthAssess::LengthCompExampleFreq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.