bheqWrapper: Calculate the equilibrium Beverton-Holt estimator of...

bheqWrapperR Documentation

Calculate the equilibrium Beverton-Holt estimator of instantaneous total mortality from length data. Wrapper function from fishmethods R package.

Description

Nelson GA (2023). fishmethods: Fishery Science Methods and Models. R package version 1.12-1, https://CRAN.R-project.org/package=fishmethods.

Usage

bheqWrapper(LifeHistoryObj, LengthCompObj, byGroup = FALSE, mode = NULL)

Arguments

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.

mode

Mode of length-frequency distribution (optional). Used as the length at full recruitment to the fishery. User can apply LcFunc or LcFuncKernel to the length data previously. If no value is supplied, an estimate will be automatically obtained using modeKernelFunc.

Examples

library(fishSimGTG)
library(fishmethods)
bheqWrapper(fishSimGTG::LifeHistoryExample, fishLengthAssess::LengthCompExampleFreq)

natureanalytics-ca/fishLengthAssess documentation built on Feb. 28, 2025, 5:46 a.m.