init_sim | R Documentation |
init_sim
sets up the general simulation parameters such
as number of tows in a day, number of days fished in a week, how often
species movement occurs and number of years for the simulation. It also
creates some vector and matrix structures which are used in the
init_pop
and init_fleet
functions.
init_sim(
n_years = 1,
n_tows_day = 4,
n_days_wk_fished = 5,
n_fleets = 1,
n_vessels = 1,
n_species = 1,
nrows = nrows,
ncols = ncols,
move_freq = 2
)
n_years |
is an integar defining the number of years for the simulation |
n_days_wk_fished |
is an integar defining the number of days in a calendar week that are fished (e.g. 5 (out of 7)) |
n_fleets |
is an integar defining the number of fleets in the simulation |
n_vessels |
is an integar defining the number of vessels in each fleet |
n_species |
is an integar defining the number of species in the simulation |
nrows |
Numeric integer with the y dimension of the field in nrow * ncol |
ncols |
Numeric integer with the x dimension of the field in nrow * ncol |
move_freq |
is an integar defining the duration (in weeks) between spatial movements for the populations |
n_tow_day |
is an integar defining the number of tows in a days fishing |
is a list of lists, detailing the indexs and data formats necessary for the simulation.
init_sim(n_years = 1, n_tows_day = 4, n_days_wk_fished = 5,
n_fleets = 1, n_vessels = 1, n_species = 1, move_freq = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.