{"id":26937283,"url":"https://github.com/predictiveecology/netlogor","last_synced_at":"2025-04-02T13:15:05.241Z","repository":{"id":51231176,"uuid":"53686905","full_name":"PredictiveEcology/NetLogoR","owner":"PredictiveEcology","description":"A translation of NetLogo functions, dictionary, and framework for R. Intended to be used with a discrete event simulator, like SpaDES","archived":false,"fork":false,"pushed_at":"2024-11-25T22:57:49.000Z","size":25263,"stargazers_count":38,"open_issues_count":3,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-25T23:32:29.310Z","etag":null,"topics":["r-package"],"latest_commit_sha":null,"homepage":"http://NetLogoR.PredictiveEcology.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PredictiveEcology.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-11T18:07:02.000Z","updated_at":"2024-06-26T01:50:29.000Z","dependencies_parsed_at":"2023-02-09T13:31:28.328Z","dependency_job_id":"82c9bf19-118b-4f28-858e-564dddb33fa7","html_url":"https://github.com/PredictiveEcology/NetLogoR","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PredictiveEcology%2FNetLogoR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PredictiveEcology%2FNetLogoR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PredictiveEcology%2FNetLogoR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PredictiveEcology%2FNetLogoR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PredictiveEcology","download_url":"https://codeload.github.com/PredictiveEcology/NetLogoR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819771,"owners_count":20839095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r-package"],"created_at":"2025-04-02T13:15:04.664Z","updated_at":"2025-04-02T13:15:05.211Z","avatar_url":"https://github.com/PredictiveEcology.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetLogoR\r\n\r\n\u003c!-- badges: start --\u003e\r\n[![R build status](https://github.com/PredictiveEcology/NetLogoR/workflows/R-CMD-check/badge.svg)](https://github.com/PredictiveEcology/NetLogoR/actions)\r\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/NetLogoR)](https://cran.r-project.org/package=NetLogoR)\r\n[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/NetLogoR)](https://cran.r-project.org/package=NetLogoR)\r\n[![Codecov test coverage](https://codecov.io/gh/PredictiveEcology/NetLogoR/branch/master/graph/badge.svg)](https://app.codecov.io/gh/PredictiveEcology/NetLogoR?branch=master)\r\n\u003c!-- badges: end --\u003e\r\n\r\n## Build and run spatially explicit agent-based models in R\r\n\r\n`NetLogoR` is an R package to build and run spatially explicit agent-based models using only the R platform ([Bauduin et al., 2019](https://doi.org/10.1111/ecog.04516)).\r\nIt follows the same framework as NetLogo ([Wilensky, 1999](http://ccl.northwestern.edu/netlogo/)) and is a translation in R language of the structure and functions of NetLogo ([NetLogo primitives](https://ccl.northwestern.edu/netlogo/docs/dictionary.html)).\r\n`NetLogoR` provides new R classes to define model agents and functions to implement spatially explicit agent-based models in the R environment.\r\nThis package allows benefiting of the fast and easy coding phase from the highly developed NetLogo's framework, coupled with the versatility, power and massive resources of the R software.\r\n\r\n## Getting Started\r\n\r\nExamples of three models ([Ants](http://ccl.northwestern.edu/netlogo/models/Ants), Butterfly (Railsback and Grimm, 2012) and [Wolf-Sheep-Predation](http://ccl.northwestern.edu/netlogo/models/WolfSheepPredation)) written using `NetLogoR` are available. The NetLogo code of the original version of these models is provided alongside.\r\nA 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.\r\nA model simulating the wolf life cycle written using `NetLogoR` has been published ([Bauduin et al., 2020](https://www.sciencedirect.com/science/article/pii/S0304380020302799?via%3Dihub)) with the ([code available on GitHub](https://github.com/SarahBauduin/appendix_wolfIBM)).\r\n\r\n## Installing `NetLogoR`\r\n\r\n### From CRAN\r\n\r\nCurrently, the package is not on CRAN due to some dependencies that were removed from CRAN. It will be there soon.\r\n\r\nIn the mean time, please use:\r\n```r\r\n# install.packages(\"NetLogoR\")\r\ninstall.packages(\"NetLogoR\", repos = c(https://predictiveecology.r-universe.dev, getOption(\"repos\")))\r\n```\r\n\r\n### From GitHub\r\n\r\n```r\r\n#install.packages(\"devtools\")\r\ndevtools::install_github(\"PredictiveEcology/NetLogoR\")\r\n```\r\n\r\n## Getting help\r\n\r\nPlease email developers or start an issue on the [NetLogoR](https://Github.com/PredictiveEcology/NetLogoR) web page.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredictiveecology%2Fnetlogor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpredictiveecology%2Fnetlogor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredictiveecology%2Fnetlogor/lists"}