Description Usage Arguments Examples
Save an object of class experiment
to an XML file GAMA-compliant.
1 2 3 4 5 6 7 | save_to_gama(exp, filename = NULL, path = NULL)
## Default S3 method:
save_to_gama(exp, filename, path)
## S3 method for class 'experiment'
save_to_gama(exp, filename = NULL, path = NULL)
|
exp |
An object of class |
filename |
name of XML parameter file. If not specified, name of 'exp“ is used. |
path |
Path to save 'filename'. If not specified, current working directory is used. |
1 2 3 | gaml_file <- system.file("models", "sir.gaml", package = "rama")
exp1 <- load_experiment("sir", gaml_file)
save_to_gama(exp1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.