Skip to contents

Extends mizer::getBiomass() for mizerExtensionTemplate objects to append the plankton component biomass to the standard species biomasses.

Usage

# S3 method for class 'mizerExtensionTemplate'
getBiomass(object, ...)

Arguments

object

A mizerExtensionTemplate params object.

...

Passed to the next method in the dispatch chain.

Value

A named numeric vector of biomasses (g) with an extra "Plankton" entry.

Details

Because plotBiomass() calls getBiomass() internally, this single override is enough to make biomass plots include the plankton without any further changes.