export_nl {nlrx} | R Documentation |
Export NetLogo Experiment
Description
Export NetLogo Experiment as zip file
Usage
export_nl(nl, path = dirname(getnl(nl, "modelpath")), tarfile)
Arguments
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 |
Details
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.
Value
The status value returned by the external command, invisibly.
Examples
## 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)
[Package nlrx version 0.4.5 Index]