RNetLogo-package |
Provides an interface to the agent-based modelling platform NetLogo |
NLCommand |
Executes a command in the referenced NetLogo instance. |
NLDfToList |
Transforms a data.frame into a NetLogo list or multiple NetLogo lists (one for each column of the data.frame). |
NLDoCommand |
Repeats execution of a command in the referenced NetLogo instance a defined number of times. |
NLDoCommandWhile |
Repeats a command in the referenced NetLogo instance while a reporter returns 'TRUE'. |
NLDoReport |
Repeats a command and a reporter in the referenced NetLogo instance a defined number of times. |
NLDoReportWhile |
Repeats execution of a command and a reporter in the referenced NetLogo instance while a conditional reporter returns 'TRUE'. |
NLGetAgentSet |
Reports variable value(s) of one or more agent(s) as a data.frame (optional as a list or vector) |
NLGetGraph |
Captures a network. |
NLGetPatches |
Reports the values of patch variables as a data.frame (optional as a list, matrix or simple vector) |
NLLoadModel |
Loads a model into the NetLogo instance. |
NLQuit |
Quits a NetLogo instance. |
NLReport |
Reports a value or list of values |
NLSetAgentSet |
Sets a variable of one or more agent(s) to value(s) in a data.frame or vector. |
NLSetPatches |
Sets a variable of all patches in the NetLogo world to the values in a matrix. |
NLSetPatchSet |
Sets the variable value of one or more patch(es) to value(s) in a data.frame. |
NLSourceFromString |
Creates or appends NetLogo code from R. |
NLStart |
Creates an instance of NetLogo |
RNetLogo |
Provides an interface to the agent-based modelling platform NetLogo |