View source: R/manipulate_species.R
renameSpecies | R Documentation |
Changes the names of species in a MizerParams object. This involves for example changing the species dimension names of rate arrays appropriately.
renameSpecies(params, replace)
params |
A mizer params object |
replace |
A named character vector, with new names as values, and old names as names. |
An object of type MizerParams
replace <- c(Cod = "Kabeljau", Haddock = "Schellfisch")
params <- renameSpecies(NS_params, replace)
species_params(params)$species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.