/
DESCRIPTION
94 lines (94 loc) · 3.47 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Package: NetLogoR
Title: Build and Run Spatially Explicit Agent-Based Models
Description: Build and run spatially explicit
agent-based models using only the R platform. 'NetLogoR' follows the same
framework as the 'NetLogo' software
(Wilensky (1999) <http://ccl.northwestern.edu/netlogo/>) 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 two models from the NetLogo software repository
(Ants <http://ccl.northwestern.edu/netlogo/models/Ants>) and
Wolf-Sheep-Predation
(<http://ccl.northwestern.edu/netlogo/models/WolfSheepPredation>),
and a third, Butterfly, from
Railsback and Grimm (2012) <https://www.railsback-grimm-abm-book.com/>, all
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
(<https://ccl.northwestern.edu/netlogo/docs/programming.html>) and a dictionary
of 'NetLogo' primitives (<https://ccl.northwestern.edu/netlogo/docs/dictionary.html>)
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'
(<https://cran.r-project.org/package=SpaDES>).
The suggested package 'fastshp' can be installed with
'install.packages("fastshp", repos = ("<https://rforge.net>"), type = "source")'.
URL:
https://netlogor.predictiveecology.org,
https://github.com/PredictiveEcology/NetLogoR/,
https://groups.google.com/g/netlogor
Version: 1.0.5
Date: 2023-12-21
Authors@R: c(
person("Sarah", "Bauduin", email = "sarahbauduin@hotmail.fr",
role = c("aut"), comment = c(ORCID = "0000-0002-3252-5894")),
person("Eliot J B", "McIntire", email = "eliot.mcintire@canada.ca",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6914-8316")),
person("Alex M", "Chubaty", email = "achubaty@for-cast.ca",
role = c("aut"), comment = c(ORCID = "0000-0001-7146-8135")),
person(paste("His Majesty the King in Right of Canada,",
"as represented by the Minister of Natural Resources Canada"),
role = "cph")
)
Depends:
R (>= 4.1)
Imports:
data.table,
grDevices,
methods,
quickPlot (>= 1.0.2),
stats,
terra,
utils
Suggests:
CircStats,
covr,
fastshp,
knitr,
microbenchmark,
raster,
rmarkdown,
sf,
sp,
SpaDES.core (>= 2.0.3),
SpaDES.tools (>= 2.0.5),
testthat,
withr
Additional_repositories: https://predictiveecology.r-universe.dev/
BugReports: https://github.com/PredictiveEcology/NetLogoR/issues
ByteCompile: yes
Encoding: UTF-8
Language: en-CA
License: GPL-3
RoxygenNote: 7.2.3
VignetteBuilder: knitr, rmarkdown
Collate:
'Agent-classes.R'
'NetLogoR-package.R'
'worldNLR-classes-methods.R'
'helpers.R'
'agentMatrix-Class-methods.R'
'agentset-functions.R'
'function-arguments.R'
'patch-functions.R'
'plot.R'
'quickPlot.R'
'spades-functions.R'
'turtle-functions.R'
'world-functions.R'
Roxygen: list(markdown = TRUE)