Use bisection algorithm to identify the level of fishing mortality required to yield an SPR of x.

compute_fx(nages, mort, mat, waa, sel, ret, target_x = 0.35)

Arguments

nages

number of ages in age structure

mort

instantaneous natural mortality rate

mat

maturity-at-age vector

waa

weight-at-age vector

sel

total selectivity-at-age vector

ret

total retention-at-age vector

target_x

desired SPR proportion

Value

A numeric value for the fishing mortality (F) that achieves the target SPR.

Examples

if (FALSE) { # \dontrun{
  compute_fx(nages, mort, mat, waa, sel, ret, target_x = 0.35)
} # }