View source: R/methodsAssess.R
PmegaFunc | R Documentation |
Froese, R., 2004. Keep it simple: three indicators to deal with overfishing. Fish. Fish 5, 86-91. 1 - proportion of the length observations that are equal to or greater than 1.1*Lopt. Lopt obtained from LoptFunc
PmegaFunc(LifeHistoryObj, LengthCompObj, byGroup = FALSE)
LifeHistoryObj |
A LifeHistory object from fishSimGTG. |
LengthCompObj |
A LengthComp object |
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. |
library(fishSimGTG)
PmegaFunc(fishSimGTG::LifeHistoryExample, fishLengthAssess::LengthCompExampleFreq, byGroup = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.