Description Usage Arguments Value Examples
Adds any survey fleets to the existing fleet in a Gadget model
1  | add_survey_fleet(model_fleet, survey_fleet)
 | 
model_fleet | 
 An object of class   | 
survey_fleet | 
 A list of class   | 
The same object as model_fleet, but updated to include
survey_fleet
1 2 3 4 5 6 7 8 9 10 11 12 13  | path <- system.file(gad_mod_dir, package = "gadgetSim")
mod <- read_gadget_model(path = path)
survey_fleet <-
  make_gadget_fleet(spr = list(type = "totalfleet",
                               suitability = constant_suit_formula("spr",
                                                                   "cod",
                                                                   list(1)),
                               amount = data.frame(year = 1,
                                                   step = 1,
                                                   area = 1,
                                                   fleetname = "spr",
                                                   amount = 1)))
mod <- add_survey_fleet(mod, survey_fleet)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.