find_spat_f: find spatial Fs (fishing mortality rates)

View source: R/find_spat_f.R

find_spat_fR Documentation

find spatial Fs (fishing mortality rates)

Description

find_spat_f uses uniroot to find the fishing mortality rate for a population given the catch, biomass and natural mortality using the baranov_f objective function.

Usage

find_spat_f(sim_init = NULL, C = C, B = B, M = M, FUN = baranov_f)

Arguments

sim_init

is the parameterised sim settings, made by init_sim

C

is a Numeric vector detailing the catch at wk_{t}

B

is a Numeric vector of the biomass at wk_{t}

M

is a Numeic vector of the natural mortality rate at wk_{t}

FUN

is the objective function, here the Baranov equation baranov_f

Value

Gives a matrix the spatial fishing mortality estimate F

Examples

find_spat_f(sim_init = sim, C = matrix(1000,3000, nc =2), B =
matrix(12000,10000, ncol = 2), M = 0.2, FUN = baranov_f)

pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.