Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

export_nl

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)

nlrx

Setup, Run and Analyze 'NetLogo' Model Simulations from 'R' via 'XML'

v0.4.2
GPL-3
Authors
Jan Salecker [aut, cre] (<https://orcid.org/0000-0002-9000-4229>), Marco Sciaini [aut] (<https://orcid.org/0000-0002-3042-5435>), Marina Papadopoulou [rev] (Marina reviewed the package for ropensci, see <https://github.com/ropensci/software-review/issues/262>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.