init_survey: Initialise survey settings

init_surveyR Documentation

Initialise survey settings

Description

init_survey is a function to mimic a fisheries-independent survey to sample catches from the populations.

Usage

init_survey(
  sim_init = NULL,
  design = "fixed_station",
  n_stations = 50,
  start_day = 90,
  stations_per_day = 5,
  Qs = NULL
)

Arguments

sim_init

is the general simualtion settings from sim_init

design

is the survey design used, at the moment only fixed_station

n_stations

is a Numeric for the number of stations to be fished each. Note: If using 'fixed_station' design this will be rounded down to maintain a grid shape if not divisble.

start_day

is a Numeric for the first day of the survey each year

stations_per_day

is a Numeric for the number of stations surveyed per day

Qs

is a named Numeric Vector containing any survey catchabilities, assumed to be time invariant.

Value

is a list consisting of the survey setting and a a matrix for storing the log of catches from the survey, to be used as an input to run_sim.

Examples

init_survey(design = 'fixed_station', n_stations = 50, start_day = 90, stations_per_days = 5, Qs = c("spp1" = 0.1, "spp2" = 0.2)

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