Skip to contents

when passed fauna and fleet objects, simmar will advance the population for a number of steps

Usage

simmar(
  fauna = list(),
  fleets = list(),
  manager = list(),
  habitat = list(),
  years = 100,
  initial_conditions = NA,
  starting_step = 0,
  keep_starting_step = TRUE
)

Arguments

fauna

a list of fauna objects

fleets

a list of fleet objects

manager

a list of management actions

habitat

a list of habitat over time

years

the number of years to run the simulation

initial_conditions

initial conditions for the simulation, in the form simmar()[final year]

starting_step

the step to start the simulation from, used to keep track of steps across multiple runs of simmar

keep_starting_step

should the starting step by kept (TRUE) or dropped (FALSE)

Value

a list containing the results of the simulation