/GeMS

A 2-box, generalized management strategy evaluation framework that allows time-varying processes.

Primary LanguageROtherNOASSERTION

General-MSE

A 2-box, generalized management strategy evaluation framework that allows time-varying processes. See the wiki!

Installation

To install the GeMS package, the devtools package is required.

install.packages("devtools")
devtools::install_github("szuwalski/GeMS")

Code Example

##----------------
## Run, GeMS, run!
##----------------
# Load package
library(GeMS)

# Set directory where control files are
dir.MSE <- system.file("extdata/Cod_1_Production",package="GeMS") #Located in the extdata/ folder of the GeMS package directory

# Names of control files to be tested
OMNames<-c("Cod_LowProd_CTL", "Cod_Base_CTL", "Cod_HighProd_CTL")

# Beginning the MSE
run_GeMS(OMNames,dir.MSE)

# Plots can then be found at file.path(dir.MSE, "plots")

##-----------------
## Parallel example
## (requires the foreach and doParallel packages)
##-----------------
run_GeMS(OMNames,dir.MSE,
         runparallel = T, cores = 3)