CRAN

NetLogoR 0.3.5

Build and Run Spatially Explicit Agent-Based Models

Released Jan 25, 2019 by Sarah Bauduin

This package cannot yet be used with Renjin it depends on other packages which are not available: rgeos 0.4-2, quickPlot 0.1.6, SpaDES.tools 0.3.0, car 3.0-1, data.table 1.12.0, and raster 2.8-4

Dependencies

car 3.0-1 data.table 1.12.0 SpaDES.tools 0.3.0 quickPlot 0.1.6 rgeos 0.4-2 raster 2.8-4 matrixStats 0.54.0 CircStats 0.2-6 abind 1.4-3 sp 1.3-1 plyr 1.8.4 Hmisc 4.1-1

Build and run spatially explicit agent-based models using only the R platform. 'NetLogoR' follows the same framework as the 'NetLogo' software (Wilensky, 1999 ) and is a translation in R of the structure and functions of 'NetLogo'. 'NetLogoR' provides new R classes to define model agents and functions to implement spatially explicit agent-based models in the R environment. This package allows benefiting of the fast and easy coding phase from the highly developed 'NetLogo' framework, coupled with the versatility, power and massive resources of the R software. Examples of three models (Ants , Butterfly (Railsback and Grimm, 2012) and Wolf-Sheep-Predation ) written using 'NetLogoR' are available. The 'NetLogo' code of the original version of these models is provided alongside. A programming guide inspired from the 'NetLogo' Programming Guide () and a dictionary of 'NetLogo' primitives () equivalences are also available. NOTE: To increment 'time', these functions can use a for loop or can be integrated with a discrete event simulator, such as 'SpaDES' (). The suggested package 'fastshp' can be installed with 'install.packages("fastshp", repos = "https://rforge.net", type = "source")'.

Source

R

View GitHub Mirror

Release History