Learn R Programming

mizer (version 3.4.0)

signal_frozen_changes: Signal the changes to species parameters that cannot take effect

Description

Goes through the rate arrays that can be frozen, see frozen_rate_params(), and raises a signal_frozen() condition for each frozen array that one of the changed species parameters feeds. This is what turns "the model no longer follows the species parameters" into a warning the user sees at the moment they make the change. It is one of the diagnostics that only given_species_params<-() gives, see there.

Usage

signal_frozen_changes(params, changed)

Value

NULL invisibly. Called for its side effect of signalling.

Arguments

params

A MizerParams object, holding the rate arrays as they are, that is, before the change is applied.

changed

A character vector with the names of the species parameters that the user changed.