IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v058i02.html
   My bibliography  Save this article

R Marries NetLogo: Introduction to the RNetLogo Package

Author

Listed:
  • Thiele, Jan C

Abstract

The RNetLogo package delivers an interface to embed the agent-based modeling platform NetLogo into the R environment with headless (no graphical user interface) or interactive GUI mode. It provides functions to load models, execute commands, push values, and to get values from NetLogo reporters. Such a seamless integration of a widely used agent-based modeling platform with a well-known statistical computing and graphics environment opens up various possibilities. For example, it enables the modeler to design simulation experiments, store simulation results, and analyze simulation output in a more systematic way. It can therefore help close the gaps in agent-based modeling regarding standards of description and analysis. After a short overview of the agent-based modeling approach and the software used here, the paper delivers a step-by-step introduction to the usage of the RNetLogo package by examples.

Suggested Citation

  • Thiele, Jan C, 2014. "R Marries NetLogo: Introduction to the RNetLogo Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 58(i02).
  • Handle: RePEc:jss:jstsof:v:058:i02
    DOI: http://hdl.handle.net/10.18637/jss.v058.i02
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v058i02/v58i02.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v058i02/RNetLogo_1.0-0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v058i02/v58i02.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v058.i02?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. LeBaron, Blake, 2000. "Agent-based computational finance: Suggested readings and early research," Journal of Economic Dynamics and Control, Elsevier, vol. 24(5-7), pages 679-702, June.
    2. Arifovic, Jasmina, 1994. "Genetic algorithm learning and the cobweb model," Journal of Economic Dynamics and Control, Elsevier, vol. 18(1), pages 3-28, January.
    3. Tesfatsion, Leigh & Judd, Kenneth L., 2006. "Handbook of Computational Economics, Vol. 2: Agent-Based Computational Economics," Staff General Research Papers Archive 10368, Iowa State University, Department of Economics.
    4. Tesfatsion, Leigh, 2006. "Agent-Based Computational Economics: A Constructive Approach to Economic Theory," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 16, pages 831-880, Elsevier.
    5. Regine Pei Tze Oh & Susan M. Sanchez & Thomas W. Lucas & Hong Wan & Mark E. Nissen, 2009. "Efficient experimental design tools for exploring large simulation models," Computational and Mathematical Organization Theory, Springer, vol. 15(3), pages 237-257, September.
    6. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    7. Flaminio Squazzoni, 2010. "The impact of agent-based models in the social sciences after 15 years of incursions," History of Economic Ideas, Fabrizio Serra Editore, Pisa - Roma, vol. 18(2), pages 197-234.
    8. Bowman, Adrian & Crawford, Ewan & Alexander, Gavin & Bowman, Richard W, 2007. "rpanel: Simple Interactive Controls for R Functions Using the tcltk Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 17(i09).
    9. Joshua M. Epstein & Robert L. Axtell, 1996. "Growing Artificial Societies: Social Science from the Bottom Up," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262550253, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Carlos M. Lemos & Ross J. Gore & Laurence Lessard-Phillips & F. LeRon Shults, 2020. "A network agent-based model of ethnocentrism and intergroup cooperation," Quality & Quantity: International Journal of Methodology, Springer, vol. 54(2), pages 463-489, April.
    2. Alireza Mostafizi & Haizhong Wang & Dan Cox & Lori A. Cramer & Shangjia Dong, 2017. "Agent-based tsunami evacuation modeling of unplanned network disruptions for evidence-driven resource allocation and retrofitting strategies," Natural Hazards: Journal of the International Society for the Prevention and Mitigation of Natural Hazards, Springer;International Society for the Prevention and Mitigation of Natural Hazards, vol. 88(3), pages 1347-1372, September.
    3. Boult, Victoria L. & Quaife, Tristan & Fishlock, Vicki & Moss, Cynthia J. & Lee, Phyllis C. & Sibly, Richard M., 2018. "Individual-based modelling of elephant population dynamics using remote sensing to estimate food availability," Ecological Modelling, Elsevier, vol. 387(C), pages 187-195.
    4. Evans, Luke C. & Sibly, Richard M. & Thorbek, Pernille & Sims, Ian & Oliver, Tom H. & Walters, Richard J., 2019. "Quantifying the effectiveness of agri-environment schemes for a grassland butterfly using individual-based models," Ecological Modelling, Elsevier, vol. 411(C).
    5. Zhenqiang Wang & Gaofeng Jia, 2021. "A novel agent-based model for tsunami evacuation simulation and risk assessment," Natural Hazards: Journal of the International Society for the Prevention and Mitigation of Natural Hazards, Springer;International Society for the Prevention and Mitigation of Natural Hazards, vol. 105(2), pages 2045-2071, January.
    6. Fanny A. Kluge & Tobias C. Vogt, 2020. "Intergenerational transfers within the family and the role for old age survival," MPIDR Working Papers WP-2020-021, Max Planck Institute for Demographic Research, Rostock, Germany.
    7. Jalalimanesh, Ammar & Shahabi Haghighi, Hamidreza & Ahmadi, Abbas & Soltani, Madjid, 2017. "Simulation-based optimization of radiotherapy: Agent-based modeling and reinforcement learning," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 133(C), pages 235-248.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Luca Grilli & Domenico Santoro, 2022. "Forecasting financial time series with Boltzmann entropy through neural networks," Computational Management Science, Springer, vol. 19(4), pages 665-681, October.
    2. Friederike Wall, 2016. "Agent-based modeling in managerial science: an illustrative survey and study," Review of Managerial Science, Springer, vol. 10(1), pages 135-193, January.
    3. Detlef Seese & Christof Weinhardt & Frank Schlottmann (ed.), 2008. "Handbook on Information Technology in Finance," International Handbooks on Information Systems, Springer, number 978-3-540-49487-4, November.
    4. repec:zbw:iamodp:109915 is not listed on IDEAS
    5. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    6. Gräbner, Claudius, 2016. "From realism to instrumentalism - and back? Methodological implications of changes in the epistemology of economics," MPRA Paper 71933, University Library of Munich, Germany.
    7. Coronese, Matteo & Occelli, Martina & Lamperti, Francesco & Roventini, Andrea, 2023. "AgriLOVE: Agriculture, land-use and technical change in an evolutionary, agent-based model," Ecological Economics, Elsevier, vol. 208(C).
    8. Flaminio Squazzoni, 2010. "The impact of agent-based models in the social sciences after 15 years of incursions," History of Economic Ideas, Fabrizio Serra Editore, Pisa - Roma, vol. 18(2), pages 197-234.
    9. Torsten Trimborn & Philipp Otte & Simon Cramer & Maximilian Beikirch & Emma Pabich & Martin Frank, 2020. "SABCEMM: A Simulator for Agent-Based Computational Economic Market Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 707-744, February.
    10. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    11. Furtado, Bernardo Alves & Eberhardt, Isaque Daniel Rocha, 2015. "Modelo espacial simples da economia: uma proposta teórico-metodológica [A simple spatial economic model: a proposal]," MPRA Paper 67005, University Library of Munich, Germany.
    12. Tesfatsion, Leigh, 2017. "Modeling Economic Systems as Locally-Constructive Sequential Games," ISU General Staff Papers 201704300700001022, Iowa State University, Department of Economics.
    13. Marc Deissenroth & Martin Klein & Kristina Nienhaus & Matthias Reeg, 2017. "Assessing the Plurality of Actors and Policy Interactions: Agent-Based Modelling of Renewable Energy Market Integration," Complexity, Hindawi, vol. 2017, pages 1-24, December.
    14. Leigh Tesfatsion, 2017. "Modeling economic systems as locally-constructive sequential games," Journal of Economic Methodology, Taylor & Francis Journals, vol. 24(4), pages 384-409, October.
    15. Bernardo A. Furtado & Miguel A. Fuentes & Claudio J. Tessone, 2019. "Policy Modeling and Applications: State-of-the-Art and Perspectives," Complexity, Hindawi, vol. 2019, pages 1-11, February.
    16. Khamdamov, T., 2022. "A brief overview of the evolution of computer simulations in economic research," Journal of the New Economic Association, New Economic Association, vol. 54(2), pages 189-207.
    17. Graubner, Marten, 2011. "The Spatial Agent-based Competition Model (SpAbCoM)," IAMO Discussion Papers 109915, Institute of Agricultural Development in Transition Economies (IAMO).
    18. Edgardo Bucciarelli & Marcello Silvestri, 2013. "Hyman P. Minsky's unorthodox approach: recent advances in simulation techniques to develop his theoretical assumptions," Journal of Post Keynesian Economics, Taylor & Francis Journals, vol. 36(2), pages 299-324.
    19. Graupner, Marten, 2011. "The Spatial Agent-based Competition Model (SpAbCoM) [Das räumliche agenten-basierte Wettbewerbsmodell SpAbCoM]," IAMO Discussion Papers 135, Leibniz Institute of Agricultural Development in Transition Economies (IAMO).
    20. Chen, Shu-Heng, 2012. "Varieties of agents in agent-based computational economics: A historical and an interdisciplinary perspective," Journal of Economic Dynamics and Control, Elsevier, vol. 36(1), pages 1-25.
    21. Tesfatsion, Leigh, 2017. "Modeling Economic Systems as Locally-Constructive Sequential Games," ISU General Staff Papers 201703280700001022, Iowa State University, Department of Economics.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:058:i02. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.