R/Simulation_module_functions.R
Gen_GmacsSim.Rd
Function that generates the simulated data for a set of simulation with Gmacs.
Gen_GmacsSim(
path = NULL,
Stock = NULL,
RandomRec = NULL,
Ndev_Rec = NULL,
SigmaR = NULL,
RandSim = NULL,
UseParam = NULL,
No_Est = NULL,
Nsim = NULL,
seed_val = NULL,
verbose = NULL
)
(character string)- file path representing root i.e., the folder where
the gmacsbase.tpl
file is stored.
(character string)- Name of the stock of interest. This will be used
to set the working directories: this is the name of the folder in the
build
directory where the basic gmacs input files are stored.
(logical)- if FALSE
: add deviations to the original ones,
if TRUE
generate new deviations.
(integer)- Number of year to which apply a deviation in recruitment.
(numeric)- Standard deviation used in the stats::rnorm()
function.
(logical)- If true, random deviations are generated.
(logical)- Do the simulations use a .PIN file to import parameters?
(logical)- Set the maximum function call to 1? i.e., run estimation?
(integer)- the number of simulation to run.
(integer) - a random number generation (single value; see base::set.seed()
).
(logical)- flag to print processing information
Nothing