call_gama: Run GAMA on a XML file

Description Usage Arguments Examples

View source: R/call_gama.R

Description

From a XML file containing an experiment plan, send and run it in GAMA and returns one XML file by simulation containing the output.

Usage

1
call_gama(parameter_xml_file, hpc, output_dir = "")

Arguments

parameter_xml_file

path to an XML file containing an experiment.

hpc

numeric, number of cores

output_dir

path to saved the output of gama. If not specified, current working directory will be used. If ‘output_dir' doesn’t exist, it will be created.

Examples

1
2
parameter_xml_file <- system.file("models", "sir.xml", package = "rama")
outfiles <- call_gama(parameter_xml_file, hpc = 1, output_dir = tempdir())

r-and-gama/rama documentation built on July 19, 2019, 9:49 p.m.