Skip to contents

A small three-species mizerExtensionTemplate model built from a subset of the North Sea species parameters bundled with mizer (Sprat, Herring, Cod). It demonstrates all five extension mechanisms provided by this template package: an extra encounter term, a seasonal encounter multiplier, an allometric background mortality, a dynamical plankton component, and an overridden getBiomass() generic.

Usage

example_params

Format

A mizerExtensionTemplate object (an S4 subclass of mizer::MizerParams) with 3 species and a plankton component.

Source

Created by data-raw/example_params.R.

Details

Because the object is stored in the package's data/ directory it is lazy-loaded by R. The package's .onLoad hook replaces the plain binding with an active binding so that every access to example_params calls mizer::coerceToExtensionClass() and returns an object with the correct S4 extension class for the extension chain that is currently registered in the session.

See also

newExtensionTemplateParams() for the constructor used to build this object, getBiomass.mizerExtensionTemplate() for the overridden generic, mizerExtensionTemplate for the S4 class definition.