signal_gear_params_changes: Signal a gear parameter changed through the given species...

View source: R/info_signals.R

signal_gear_params_changesR Documentation

Signal a gear parameter changed through the given species parameters

Description

Mizer looks for the gear parameters in the gear parameter table, which is read only when the model is built, so changing one of them through the species parameters does not reach the model. This is one of the diagnostics that only given_species_params<-() gives; species_params<-() stays quiet, see there.

Usage

signal_gear_params_changes(changed)

Arguments

changed

A named list with one entry per changed column, or a character vector of the changed column names.

Details

yield_observed is the exception. It belongs in gear_params(), which gives the observed yield per gear and species, and that is where it should be set, which is what this reports. But it feeds no rate, so a value in the species parameters is not lost: get_yield_observed() falls back to it for any species that has no observation among the gear parameters.

Value

NULL invisibly. Called for its side effect of signalling.


mizer documentation built on Aug. 24, 2026, 9:08 a.m.