Skip to contents

This function currently updates the gear selectivity parameters l50 and l25, the catchability, the steepness Uof the maturity ogive and the coefficientM` of the power-law mortality rate. It then recalculates the steady state of the model and rescales it to match the observed biomass.

Usage

update_params(params, species = 1, pars, data, w_select)

Arguments

params

The MizerParams object to update

species

The species to update. By default the first species in the model.

pars

A named numeric vector of parameter values

data

The list with data as passed to the objective function

w_select

A logical vector indicating which weight bins were used in the likelihood calculation

Value

The updated MizerParams object