match_posns_names | R Documentation |
Change names of biols, catches and fisheries in the control object into integer positions
match_posns_names(trg, biol_names, fishery_catch_names)
trg |
The target slot of a fwdControl object |
biol_names |
A vector of names in the FLBiols objects |
fishery_catch_names |
A named list - elements of list are vector of the catch names of each fishery |
Before calling the C++ code it is necessary for the catch, fishery and biol columns (and their Rel) equivalents to be integers. The user can specify by name. This function changes the name to integer position and throws an error if the name does not match.
The updated target slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.