Function that updates params object with new parameter values
Source:R/update_params.R
update_params.Rd
This function currently updates the gear selectivity parameters l50
and
l25, the catchability, the steepness
Uof the maturity ogive and the coefficient
M` of the power-law mortality rate. It then recalculates the
steady state of the model and rescales it to match the observed biomass.
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