Changes the names of gears in a MizerParams object. This involves for example changing the gear dimension names of selectivity and catchability arrays appropriately.
Value
An object of type MizerParams
Examples
replace <- c(Industrial = "Trawl", Otter = "Beam_Trawl")
params <- renameGear(NS_params, replace)
gear_params(params)$gear
#> [1] "Trawl" "Trawl" "Trawl" "Pelagic" "Beam"
#> [6] "Beam_Trawl" "Beam" "Beam_Trawl" "Beam" "Beam_Trawl"
#> [11] "Beam_Trawl" "Beam_Trawl"
