Description Usage Arguments Value Examples
These functions allow to get and set the path to the .gaml
file that
contains the model of an experiment
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
exp |
An object of class |
value |
Path of new gaml model file |
The path to the .gaml
file that contains the model definition.
1 2 3 4 5 6 7 8 9 10 11 12 | exp1 <- load_experiment("sir", system.file("models", "sir.gaml",
package = "rama"))
model(exp1)
model(exp1) <- system.file("models", "CopyOfsir.gaml",
package = "rama")
model(exp1)
exp1 <- load_experiment("sir", system.file("models", "sir.gaml",
package = "rama"))
model(exp1)
model(exp1) <- system.file("models", "CopyOfsir.gaml",
package = "rama")
model(exp1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.