run_GeMS: Function to run GeMS

Description Usage Arguments Value See Also Examples

View source: R/run_GeMS.R

Description

Main function to run a full Generalized MSE.

Usage

1
2
run_GeMS(CTLNameList, MSEdir = getwd(), runparallel = F, cores = 1,
  silent = T, ...)

Arguments

CTLNameList

Vector of CTL files

MSEdir

Directory containing CTL files

runparallel

Logical; operating models should be run in parallel. If you're doing this, note that the package foreach will be loaded.

cores

Number of cores to be used for parallel runs

silent

Logical; Show output on console

...

Anything to be passed to GeMS or AgeStructureComp or ProductionModelOutput. Can include plotNames, ADoptions and ADsilent for ADMB options.

Value

GeMS output

See Also

GeMS

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
OMNames <- c("Cod_LowProd_CTL","Cod_Base_CTL","Cod_HighProd_CTL")
MSEdir <- "~/GeneralMSE/Examples/Cod_1_Production"
run_GeMS(OMNames, MSEdir)

# or
run_GeMS(OMNames, MSEdir, runparallel=T, cores=2, plotNames = c("Low Productivity", "Base", "High Productivity"))

## End(Not run)

szuwalski/GeMS documentation built on Oct. 2, 2019, 5:55 a.m.