calculate.q.sel.flrObjs: Calculates selectivity-related parameters

View source: R/Conditioning_calculate.CDparam.R

calculate.q.sel.flrObjsR Documentation

Calculates selectivity-related parameters

Description

Given stock abundances and catches (i.e. landings and discards), this function estimates values for fleets[[fl]]@metiers[[mt]]@catches[[st]]@catch.q, fleets[[fl]]@metiers[[mt]]@catches[[st]]@landings.sel, and fleets[[fl]]@metiers[[mt]]@catches[[st]]@discards.sel for all years except the simulation years. For the simulation years, the parameter values are set as the mean of the parameters along mean.yrs.

Usage

calculate.q.sel.flrObjs(biols, fleets, BDs, fleets.ctrl, mean.yrs, sim.yrs)

Arguments

biols

An FLBiols object.

fleets

An FLFleetsExt object. An extended version of the FLFleet object defined in FLCore.

BDs

A list of FLSRsim objects. One per biomass dynamic stock in biols object.

fleets.ctrl

Fleets' control file containing the catch production function for each fleet and stock.

mean.yrs

A character vector with the name of the years used to calculate mean selectivity.

sim.yrs

A character vector with the name of the years in the projection period.

Value

A FLFleetsExt object.


flr/FLBEIA documentation built on Feb. 22, 2024, 1:36 a.m.