par-methods: as.MFCLIni

as.MFCLIniR Documentation

as.MFCLIni

Description

Convert an MFCLPar object to an MFCLIni object

Calculates length at age from Von Bertalanffy parameters in the par file

Calculates weight at age from Von Bertalanffy parameters and length weight params in the par file

Calculates spawners per recruit at zero fishing.

Calculates yield per recruit and spawners per recruit - in kilos

Returns the year range over which the SRR is calculated given the flag settings from af199 and af200.

Usage

as.MFCLIni(object, ...)

## S4 method for signature 'MFCLPar'
n_fisheries(object, ...)

## S4 method for signature 'MFCLBiol'
laa(object, ages = NULL, ...)

## S4 method for signature 'MFCLBiol'
aal(object, lengths = seq(0, 108, by = 2))

## S4 method for signature 'MFCLBiol'
waa(object, ...)

SPR0(par, ...)

## S4 method for signature 'MFCLBiol'
SPR0(par, ...)

YPR(object, par, ...)

## S4 method for signature 'MFCLRep,MFCLPar'
YPR(object, par, fminyr = NULL, fmaxyr = NULL, scalars = NULL, ...)

recYears(par, ...)

## S4 method for signature 'MFCLPar'
recYears(par, nrecsyr = 4, ...)

Arguments

object

An object of class MFCLRep.

par

An object of class MFCLPar

rep

An object of class MFCLRep.

Value

An MFCLIni object.

A vector of lengths at age.

A vector of weights at age.

An FLQuant.

A dataframe.

A vector.


PacificCommunity/ofp-sam-flr4mfcl documentation built on April 8, 2024, 6:47 p.m.