scaleAbundance: Rescale Abundance

View source: R/manipulateParams.R

scaleAbundanceR Documentation

Rescale Abundance

Description

[Experimental]

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.

Details

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

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

Value

An object of type MizerParams


sizespectrum/mizerExperimental documentation built on Sept. 1, 2024, 11:30 p.m.