The package gamar
provides an interface to the GAMA simulation platform (gama-platform.org). It loads gaml files defining models and provides facilities to define plans of experiments. It also call the GAMA engine to run defined plans of experiments. The simulation results can also be loaded into R for subsequent analyses.
Before installing gamar
you need to install the package devtools
if not already installed on your system:
> if (!"devtools" %in% rownames(installed.packages())) install.packages("devtools")
Once devtools
is installed on your system, you can install gamar
directly from GitHub:
> devtools::install_github("choisy/gamar")
The package gamar
contains 6 functions:
defpath
to define the path to the GAMA executableexamples
to manipulate examples from the built-in librarylist_gaml
to list the paths to the gaml models files in a hierarchylist_experiment
to list experiments of a gaml model fileexperiment
to create an object of classexperiment
load_experiment
to load an experiment of a model
See articles and vignettes for more details.