Generates the data for the simulation. The functions generate:

  1. catch data,

  2. Index/cpue data,

  3. length frequency data.

All these data can either be considered as deterministic or random generation. When noise is added, the function generates normally distributed deviations for catch and cpue data while the deviations for the size composition data can be generated either from a a multinormal or a dirichlet distribution. The distribution considered is based on the specifications in the control file.

SimData(Outres = NULL, Rand = NULL)

Arguments

Outres

(named list)- list that holds the outputs of the prepSim() and GenSimFiles() functions.

Rand

(logical)- If true, random deviations are generated.

Value

a list that hold the simulated data.