| getnl | R Documentation |
Getter function to get a variable of a nl object
getnl(nl, var)
nl |
nl object |
var |
valid nl variable string |
# Example for Wolf Sheep Predation model from NetLogo models library:
nl <- nl(nlversion = "7.0.4",
nlpath = "/home/user/NetLogo 7.0.4/",
modelpath = "/home/user/NetLogo 7.0.4/models/Sample Models/Biology/Wolf Sheep Predation.nlogox",
jvmmem = 1024)
# get NetLogo version
getnl(nl, "nlversion")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.