R/Simulation_module_functions.R
SaveSimFiles.Rd
Save the outputs of each simulation
For each simulation the function writes the gmacs.dat, data, control, and
projection files in the Runs
folder created by the prepSim()
functions.
The function also writes a batch command that will be called to when running
Gmacs (name of the file RunSim.bat
).
SaveSimFiles(
simDat = NULL,
UsePar = NULL,
NoEst = NULL,
Isim = NULL,
Nsim = NULL,
Dir_TPL = NULL
)
(list)- the output of the SimData()
function for each simulation.
(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 current simulation.
(integer)- the number of simulation to run.
(character string)- the directory where the gmacsbase.TPL file you are using for the stock assessment is hold.
Nothing