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

write_simoutput

Write attached NetLogo simulation output to file


Description

Write attached NetLogo simulation output to file

Usage

write_simoutput(nl, outpath = NA)

Arguments

nl

nl object

outpath

optional path to directory where output is written

Write NetLogo simulation output to a csv file in the directory outpath of the nl object Output has to be attached to the simdesign first with simoutput(nl) <- results The outpath argument can be optionally used to write output to a different directory than the defined outpath of the nl object.

Examples

# Load nl object including output data from testdata
nl <- nl_lhs

# Write output to outpath directory
write_simoutput(nl, outpath=tempdir())

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.