2022
DOI: 10.21105/joss.04562
|View full text |Cite
|
Sign up to set email alerts
|

villager: A framework for designing and executing agent-based models in R

Abstract: Villager is an agent-based modeling framework: it prescribes a convention and interface for modelers to create and run agent-based models (ABM). The framework is aimed at researchers in the social sciences who are focused on modeling human populations. The key features of villager are:1. Scalability: villager makes extensive use of the R6 class system (Chang, 2020), enabling the power of reference semantics without the hurdles of manual memory management. This enabled an architecture design where user-supplied… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
2
0

Year Published

2023
2023
2023
2023

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 4 publications
(3 reference statements)
0
2
0
Order By: Relevance
“…Several alternatives to epiworldR exist and provide researchers with a range of options, each with its own unique features and strengths, enabling the exploration and analysis of infectious disease dynamics through agent-based modeling. Below is a manually curated table of existing alternatives including ABM (Ma, 2023), abmR (Gochanour et al, 2023), cystiSim (Devleesschauwer & Braae, 2016), villager (Thelen et al, 2022)…”
Section: Existing Alternativesmentioning
confidence: 99%
“…Several alternatives to epiworldR exist and provide researchers with a range of options, each with its own unique features and strengths, enabling the exploration and analysis of infectious disease dynamics through agent-based modeling. Below is a manually curated table of existing alternatives including ABM (Ma, 2023), abmR (Gochanour et al, 2023), cystiSim (Devleesschauwer & Braae, 2016), villager (Thelen et al, 2022)…”
Section: Existing Alternativesmentioning
confidence: 99%
“…Similarly,Wilensky and Rand's (2015) textbook offers an accessible and comprehensive reference for using the NetLogo modeling software to develop agent-based models.7 We recommend using the RStudio IDE when programming models in R. RStudio can be freely downloaded from https://www.rstudio.com/products/rstudio/download and runs on all major operating systems.8 The present paper focuses on building models using only the functionality provided in base R. However, packages are emerging within the R ecosystem that attempt to provide more direct capabilities for developing computational models and running simulations. For example, the simecol(Petzoldt & Rinke, 2007) and villager(Thelen et al, 2022) packages offer architectures and helper functions for writing and simulating system dynamics and agent-based models, respectively, within R. Alternatively, the RNetLogo package(Thiele, 2014) provides an interface for operating, executing, and communicating with models programmed in NetLogo through R that allows one to use the programming language/philosophy of the former and the analytic tools/capabilities of the latter from the same software application.9 The hashtag (#) symbols surrounding the headings for each of the five sections shown in Figure1are used in the R programming language to indicate code that should be ignored by the computer. More precisely,…”
mentioning
confidence: 99%