Learn R Programming

⚠️There's a newer version (1.0-4) of this package.Take me there.

RNetLogo (version 0.9.2)

Provides an interface to the agent-based modelling plattform NetLogo

Description

Interface to embed NetLogo into the R environment with headless (no GUI) and interactive GUI mode. Provides functions to load models, execute commands and to get values from reporters. Equivalent to the NetLogo Mathematica Link http://ccl.northwestern.edu/netlogo/docs/mathematica.html

Copy Link

Version

Install

install.packages('RNetLogo')

Monthly Downloads

347

Version

0.9.2

License

GPL-2

Maintainer

Jan Thiele

Last Published

January 9th, 2012

Functions in RNetLogo (0.9.2)

NLDfToList

Transforms a data.frame into a NetLogo-List or multiple NetLogo-List (one for each column of the data.frame).
NLCommand

Executes a command in the referenced NetLogo instance.
NLDoReportWhile

Repeated execution of a command and a reporter in the referenced NetLogo instance while a conditional reporter returns TRUE.
NLDoCommand

Repeated execution of a command in the referenced NetLogo instance for a defined number of repetitions.
NLDoCommandWhile

Repeated execution of a command in the referenced NetLogo instance while a reporter returns TRUE.
NLReport

Reports a value or list of values
NLSetPatches

Function to set a patch variable of all patches of the NetLogo world to the values of a matrix.
NLDoReport

Repeated execution of a command and a reporter in the referenced NetLogo instance for a defined number of repetitions.
NLGetAgentSet

Reports the values of the variables of the agent or agentset as a list
NLGetPatches

Reports the values of the variables of the patches as a list
NLQuit

Quits a NetLogo instance.
RNetLogo-package

Provides an interface to the agent-based modelling plattform NetLogo
NLStart

Creates an instance of NetLogo
NLGetGraph

Captures a network.
NLSourceFromString

Function to create/append model source code from R to NetLogo.
NLLoadModel

Loads a model into the NetLogo instance.