removeBackgroundSpecies: Remove all background species

View source: R/background.R

removeBackgroundSpeciesR Documentation

Remove all background species

Description

Removes all species that have been marked as background species with markBackground().

Usage

removeBackgroundSpecies(params)

Arguments

params

A MizerParams object

Details

This is just a shorthand for removeSpecies(params, species_params(params)$is_background)

Value

A MizerParams object with background species removed

See Also

markBackground()

Examples

params <- markBackground(NS_params,
                         species = c("Sprat", "Sandeel", "N.pout"))
params <- removeBackgroundSpecies(params)
species_params(params)$species

mizer documentation built on Aug. 31, 2026, 5:08 p.m.