Skip to contents

Multiplies the abundances of all or of selected species by given factors and then retunes the reproductive efficiencies accordingly.

Usage

scaleAbundance(params, factor)

Arguments

params

A mizer params object

factor

The factor by which the abundance of each species is multiplied. This can be specified in two ways:

  • A named numeric vector where the name indicates the species and the value gives the factor for that species. Only the named species are affected.

  • A number that gives the factor for all foreground species.

Value

An object of type MizerParams

Details

Does not run the system to steady state. For that you should call steady() explicitly afterwards.