Learn R Programming

DLMtool (version 5.4.5)

MSYCalcs: Internal function to calculate MSY Reference Points

Description

Internal function to calculate MSY Reference Points

Usage

MSYCalcs(
  logF,
  M_at_Age,
  Wt_at_Age,
  Mat_at_Age,
  V_at_Age,
  maxage,
  R0x,
  SRrelx,
  hx,
  opt = 1,
  plusgroup = 0
)

Arguments

logF

log fishing mortality

M_at_Age

Vector of M-at-age

Wt_at_Age

Vector of weight-at-age

Mat_at_Age

Vector of maturity-at-age

V_at_Age

Vector of selectivity-at-age

maxage

Maximum age

R0x

R0 for this simulation

SRrelx

SRR type for this simulation

hx

numeric. Steepness value for this simulation

opt

Option. 1 = return -Yield, 2= return all MSY calcs

plusgroup

Integer. Default = 0 = no plus-group. Use 1 to include a plus-group

Value

See opt