This function simply removes all entries from the MizerParams object that refer to the selected species. It does not recalculate the steady state for the remaining species or retune their reproductive efficiency.
Value
An object of type MizerParams
Details
If a gear was targeting only the removed species, then this function will
NOT remove that gear. If you want to also remove that gear then you can do
that by calling setFishing().
Examples
params <- NS_params
species_params(params)$species
#> [1] "Sprat" "Sandeel" "N.pout" "Herring" "Dab" "Whiting" "Sole"
#> [8] "Gurnard" "Plaice" "Haddock" "Cod" "Saithe"
params <- removeSpecies(params, c("Cod", "Haddock"))
species_params(params)$species
#> [1] "Sprat" "Sandeel" "N.pout" "Herring" "Dab" "Whiting" "Sole"
#> [8] "Gurnard" "Plaice" "Saithe"
