close_areas: Close areas

close_areasR Documentation

Close areas

Description

The close_areas function implements the closures according to the settings from init_closure and passes the areas to go_fish. Its an internal function, requiring no user input.

Usage

close_areas(
  sim_init = sim_init,
  closure_init = NULL,
  commercial_logs = NULL,
  survey_logs = NULL,
  real_pop = NULL,
  t = t
)

Arguments

closure_init

is the output from init_clousre.

commercial_logs

is the commercial landings data, the output from combine_logs. Only needed if closure 'basis' = 'commercial'.

survey_logs

is the survey data, the survey[["log.mat"]]. Only needed if closure 'basis' is 'survey'.

real_pop

is the popualtions as recorded. Only needed if closure 'basis' is 'real_pop'.

Value

is a list of closed cells, to pass to go_fish

Examples

None

pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.