RNetLogo: Provides an Interface to the Agent-Based Modelling Platform NetLogo

> library(RNetLogo)
Loading required package: rJava
Loading required package: igraph

Attaching package: 'igraph'

The following object is masked from 'package:raster':

    union

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:magrittr':

    %>%

The following object is masked from 'package:base':

    union

バージョン: 1.0.1


関数名 概略
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.
NLSetPatchSet Sets the variable value of one or more patch(es) to value(s) in a data.frame.
NLSetPatches Sets a variable of all patches in the NetLogo world to the values in a matrix.
NLSourceFromString Creates or appends NetLogo code from R.
NLStart Creates an instance of NetLogo
RNetLogo-package Provides an interface to the agent-based modelling platform NetLogo