export_nl | R Documentation |
Export NetLogo Experiment as zip file
export_nl(nl, path = dirname(getnl(nl, "modelpath")), tarfile)
nl |
nl object |
path |
Path to folder that contains files to run NetLogo experiment |
tarfile |
Path to folder where the experiments gets stored as zip file |
Exports your folder that contains data and scripts for NetLogo + nlrx analyses
as a zip file. Furthermore, export_nl
takes your nl object and saves it in the
zipped folder. This enables other person to run the same experiment as you.
The status value returned by the external command, invisibly.
## Not run:
# Load nl object from testdata:
nl <- nl_lhs
path <- getwd() # adjust path to your needs, path should point to a directory with model data
outfile <- tempfile(fileext = ".zip") # adjust file path to your needs
export_nl(nl, path = path, tarfile = outfile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.