{
  "_id": "6a1e75cc1d7bb097a0a63c4b",
  "Package": "NetLogoR",
  "Title": "Build and Run Spatially Explicit Agent-Based Models",
  "Description": "Build and run spatially explicit agent-based models using\nonly the R platform. 'NetLogoR' follows the same framework as\nthe 'NetLogo' software (Wilensky (1999)\n<https://www.netlogo.org>) and is a translation in R of the\nstructure and functions of 'NetLogo'. 'NetLogoR' provides new R\nclasses to define model agents and functions to implement\nspatially explicit agent-based models in the R environment.\nThis package allows benefiting of the fast and easy coding\nphase from the highly developed 'NetLogo' framework, coupled\nwith the versatility, power and massive resources of the R\nsoftware. Examples of two models from the NetLogo software\nrepository (Ants\n<https://ccl.northwestern.edu/netlogo/models/Ants>) and\nWolf-Sheep-Predation\n(<https://ccl.northwestern.edu/netlogo/models/WolfSheepPredation>),\nand a third, Butterfly, from Railsback and Grimm (2012)\n<https://www.railsback-grimm-abm-book.com/>, all written using\n'NetLogoR' are available. The 'NetLogo' code of the original\nversion of these models is provided alongside. A programming\nguide inspired from the 'NetLogo' Programming Guide\n(<https://docs.netlogo.org/programming.html>) and a dictionary\nof 'NetLogo' primitives\n(<https://docs.netlogo.org/dictionary.html>) equivalences are\nalso available. NOTE: To increment 'time', these functions can\nuse a for loop or can be integrated with a discrete event\nsimulator, such as 'SpaDES'\n(<https://cran.r-project.org/package=SpaDES>).",
  "URL": "https://netlogor.predictiveecology.org,\nhttps://github.com/PredictiveEcology/NetLogoR/,\nhttps://groups.google.com/g/netlogor",
  "Version": "1.0.6",
  "Date": "2025-09-02",
  "Authors@R": "c(\nperson(\"Sarah\", \"Bauduin\", , \"sarahbauduin@hotmail.fr\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-3252-5894\")),\nperson(\"Eliot J B\", \"McIntire\", , \"eliot.mcintire@canada.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6914-8316\")),\nperson(\"Alex M\", \"Chubaty\", , \"achubaty@for-cast.ca\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-7146-8135\")),\nperson(\"His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada\", role = \"cph\")\n)",
  "BugReports": "https://github.com/PredictiveEcology/NetLogoR/issues",
  "ByteCompile": "yes",
  "Encoding": "UTF-8",
  "Language": "en-CA",
  "License": "GPL-3",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr, rmarkdown",
  "Collate": "'Agent-classes.R' 'NetLogoR-package.R'\n'worldNLR-classes-methods.R' 'helpers.R'\n'agentMatrix-Class-methods.R' 'agentset-functions.R'\n'function-arguments.R' 'patch-functions.R' 'plot.R'\n'quickPlot.R' 'spades-functions.R' 'turtle-functions.R'\n'world-functions.R'",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://predictiveecology.r-universe.dev",
  "Date/Publication": "2025-09-02 20:55:07 UTC",
  "RemoteUrl": "https://github.com/PredictiveEcology/NetLogoR",
  "RemoteRef": "development",
  "RemoteSha": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:45:49 UTC",
    "User": "root"
  },
  "Author": "Sarah Bauduin [aut] (ORCID: <https://orcid.org/0000-0002-3252-5894>),\nEliot J B McIntire [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6914-8316>),\nAlex M Chubaty [aut] (ORCID: <https://orcid.org/0000-0001-7146-8135>),\nHis Majesty the King in Right of Canada, as represented by the Minister\nof Natural Resources Canada [cph]",
  "Maintainer": "Eliot J B McIntire <eliot.mcintire@canada.ca>",
  "MD5sum": "ef9a7c4b2c0cd950726baf047ae6a30a",
  "_user": "predictiveecology",
  "_type": "src",
  "_file": "NetLogoR_1.0.6.tar.gz",
  "_fileid": "4b283fd4a4456c30b2d76dd16823b23e4053b36f2863e02a04168c61ceea8d70",
  "_filesize": 552427,
  "_sha256": "4b283fd4a4456c30b2d76dd16823b23e4053b36f2863e02a04168c61ceea8d70",
  "_created": "2026-06-01T07:45:49.000Z",
  "_published": "2026-06-02T06:18:52.643Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79010898335,
      "time": 298,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326067492"
    },
    {
      "job": 79010898674,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326058540"
    },
    {
      "job": 79010898468,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326041144"
    },
    {
      "job": 79010898204,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350348908"
    },
    {
      "job": 79010898435,
      "time": 251,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325972383"
    },
    {
      "job": 79010898727,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326016221"
    },
    {
      "job": 79010898796,
      "time": 241,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326049488"
    },
    {
      "job": 79010898832,
      "time": 219,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326044663"
    },
    {
      "job": 79010898783,
      "time": 220,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326043184"
    }
  ],
  "_buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/PredictiveEcology/NetLogoR",
  "_commit": {
    "id": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
    "author": "Alex Chubaty <achubaty@for-cast.ca>",
    "committer": "Alex Chubaty <achubaty@for-cast.ca>",
    "message": "update NEWS\n",
    "time": 1756846507
  },
  "_maintainer": {
    "name": "Eliot J B McIntire",
    "email": "eliot.mcintire@canada.ca",
    "orcid": "0000-0002-6914-8316"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "quickPlot",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "CircStats",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "raster",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "SpaDES.core",
      "version": ">= 2.0.3",
      "role": "Suggests"
    },
    {
      "package": "SpaDES.tools",
      "version": ">= 2.0.5",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "predictiveecology",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 11
    },
    {
      "week": "2025-36",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v1.0.6",
      "date": "2025-09-02"
    }
  ],
  "_stars": 44,
  "_contributors": [
    {
      "user": "sarahbauduin",
      "count": 446,
      "uuid": 6517365
    },
    {
      "user": "achubaty",
      "count": 345,
      "uuid": 3435577
    },
    {
      "user": "eliotmcintire",
      "count": 235,
      "uuid": 1100507
    },
    {
      "user": "datastrategist",
      "count": 2,
      "uuid": 8094091
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    }
  ],
  "_userbio": {
    "uuid": 10555025,
    "type": "organization",
    "name": "Predictive Ecology Group",
    "description": "Ecological forecasting models and data"
  },
  "_downloads": {
    "count": 248,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NetLogoR"
  },
  "_devurl": "https://github.com/predictiveecology/netlogor",
  "_pkgdown": "https://netlogor.predictiveecology.org",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NetLogoR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/predictiveecology/netlogor",
  "_realowner": "predictiveecology",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2018-02-05"
    },
    {
      "version": "0.3.2",
      "date": "2018-02-12"
    },
    {
      "version": "0.3.3",
      "date": "2018-06-07"
    },
    {
      "version": "0.3.4",
      "date": "2018-10-07"
    },
    {
      "version": "0.3.5",
      "date": "2019-01-25"
    },
    {
      "version": "0.3.6",
      "date": "2019-11-27"
    },
    {
      "version": "0.3.7",
      "date": "2020-03-02"
    },
    {
      "version": "0.3.8",
      "date": "2021-07-10"
    },
    {
      "version": "0.3.9",
      "date": "2021-10-19"
    },
    {
      "version": "0.3.10",
      "date": "2022-02-18"
    },
    {
      "version": "0.3.11",
      "date": "2022-08-17"
    },
    {
      "version": "1.0.5",
      "date": "2024-01-08"
    },
    {
      "version": "1.0.6",
      "date": "2025-09-02"
    }
  ],
  "_exports": [
    "agentMatrix",
    "bbox",
    "bbox<-",
    "bk",
    "canMove",
    "cellFromPxcorPycor",
    "clearPatches",
    "coordinates",
    "createOTurtles",
    "createTurtles",
    "createWorld",
    "die",
    "diffuse",
    "downhill",
    "dx",
    "dy",
    "extent",
    "face",
    "fd",
    "hatch",
    "home",
    "inCone",
    "initialize",
    "inRadius",
    "inspect",
    "isNLclass",
    "layerNames",
    "layoutCircle",
    "left",
    "maxNof",
    "maxOneOf",
    "maxPxcor",
    "maxPycor",
    "minNof",
    "minOneOf",
    "minPxcor",
    "minPycor",
    "moveTo",
    "neighbors",
    "NLall",
    "NLany",
    "NLcount",
    "NLdist",
    "NLset",
    "NLwith",
    "NLworldIndex",
    "nOf",
    "noPatches",
    "noTurtles",
    "nrow",
    "of",
    "oneOf",
    "other",
    "patch",
    "patchAhead",
    "patchAt",
    "patchDistDir",
    "patches",
    "patchHere",
    "patchLeft",
    "patchRight",
    "patchSet",
    "pExist",
    "PxcorPycorFromCell",
    "randomPxcor",
    "randomPycor",
    "randomXcor",
    "randomXYcor",
    "randomYcor",
    "raster2world",
    "right",
    "setXY",
    "sf2turtles",
    "show",
    "sortOn",
    "spatRast2world",
    "spdf2turtles",
    "sprout",
    "stackWorlds",
    "subHeadings",
    "tExist",
    "towards",
    "turtle",
    "turtles2sf",
    "turtles2spdf",
    "turtlesAt",
    "turtleSet",
    "turtlesOn",
    "turtlesOwn",
    "updateList",
    "uphill",
    "withMax",
    "withMin",
    "world2raster",
    "world2spatRast",
    "worldHeight",
    "worldWidth",
    "wrap"
  ],
  "_help": [
    {
      "page": "NetLogoR-package",
      "title": "The 'NetLogoR' package",
      "topics": [
        "NetLogoR-package",
        "NetLogoR"
      ]
    },
    {
      "page": "dot-bboxCoords",
      "title": "'.bboxCoords' is a drop in replacement for 'raster::.bboxCoords'.",
      "topics": [
        ".bboxCoords"
      ]
    },
    {
      "page": "extract-methods",
      "title": "Extract or Replace Parts of an Object",
      "topics": [
        "$,agentMatrix-method",
        "[",
        "[,agentMatrix,logical,missing,ANY-method",
        "[,agentMatrix,missing,character,ANY-method",
        "[,agentMatrix,missing,missing,missing-method",
        "[,agentMatrix,missing,numeric,ANY-method",
        "[,agentMatrix,numeric,character,ANY-method",
        "[,agentMatrix,numeric,missing,ANY-method",
        "[,agentMatrix,numeric,numeric,ANY-method",
        "[,worldArray,missing,missing,ANY-method",
        "[,worldArray,numeric,numeric,ANY-method",
        "[,worldMatrix,missing,missing,ANY-method",
        "[,worldMatrix,numeric,numeric,ANY-method",
        "[<-",
        "[<-,agentMatrix,missing,character,character-method",
        "[<-,agentMatrix,missing,numeric,character-method",
        "[<-,agentMatrix,missing,numeric,numeric-method",
        "[<-,agentMatrix,numeric,character,character-method",
        "[<-,agentMatrix,numeric,character,data.frame-method",
        "[<-,agentMatrix,numeric,missing,numeric-method",
        "[<-,agentMatrix,numeric,numeric,character-method",
        "[<-,agentMatrix,numeric,numeric,numeric-method",
        "[<-,worldArray,missing,missing,matrix-method",
        "[<-,worldArray,numeric,numeric,matrix-method",
        "[<-,worldMatrix,missing,missing,ANY-method",
        "[<-,worldMatrix,numeric,numeric,ANY-method"
      ]
    },
    {
      "page": "subsetting",
      "title": "Subsetting and replacing for 'worldArray' class",
      "topics": [
        "$",
        "$,worldArray-method",
        "[[,worldArray,ANY,missing-method",
        "[[<-,worldArray,ANY,missing-method"
      ]
    },
    {
      "page": "agentMatrix-compare-methods",
      "title": "Relational Operators",
      "topics": [
        "==,agentMatrix,character-method",
        "==,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "agentMatrix",
      "title": "Create a new 'agentMatrix' object",
      "topics": [
        "agentMatrix",
        "agentMatrix,matrix-method",
        "agentMatrix,missing-method"
      ]
    },
    {
      "page": "agentMatrix-class",
      "title": "The 'agentMatrix' class",
      "topics": [
        "agentMatrix-class"
      ]
    },
    {
      "page": "bbox",
      "title": "Extract or set bounding box",
      "topics": [
        "bbox",
        "bbox,agentMatrix-method",
        "bbox,ANY-method",
        "bbox,SpatExtent-method",
        "bbox,worldNLR-method",
        "bbox<-",
        "bbox<-,agentMatrix,matrix-method"
      ]
    },
    {
      "page": "bk",
      "title": "Move backward",
      "topics": [
        "bk",
        "bk,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "canMove",
      "title": "Can the 'turtles' move?",
      "topics": [
        "canMove",
        "canMove,worldNLR,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "agentMatrix-bind-methods",
      "title": "Combine R Objects by Rows or Columns",
      "topics": [
        "cbind",
        "cbind.agentMatrix",
        "rbind",
        "rbind.agentMatrix"
      ]
    },
    {
      "page": "cellFromPxcorPycor",
      "title": "Cells numbers from 'patches' coordinates",
      "topics": [
        "cellFromPxcorPycor",
        "cellFromPxcorPycor,worldNLR,numeric,numeric-method"
      ]
    },
    {
      "page": "clearPatches",
      "title": "Clear 'world''s 'patches'",
      "topics": [
        "clearPatches",
        "clearPatches,worldArray-method",
        "clearPatches,worldMatrix-method"
      ]
    },
    {
      "page": "coordinates",
      "title": "Spatial accessors and setters for 'NetLogoR' classes",
      "topics": [
        "coordinates,agentMatrix-method"
      ]
    },
    {
      "page": "createOTurtles",
      "title": "Create ordered 'turtles'",
      "topics": [
        "createOTurtles",
        "createOTurtles,numeric-method"
      ]
    },
    {
      "page": "createTurtles",
      "title": "Create 'turtles'",
      "topics": [
        "createTurtles",
        "createTurtles,numeric,matrix,missing-method",
        "createTurtles,numeric,missing,ANY-method"
      ]
    },
    {
      "page": "createWorld",
      "title": "Create a 'world'",
      "topics": [
        "createWorld",
        "createWorld,missing,missing,missing,missing,missing-method",
        "createWorld,numeric,numeric,numeric,numeric,ANY-method"
      ]
    },
    {
      "page": "die",
      "title": "Kill 'turtles'",
      "topics": [
        "die",
        "die,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "diffuse",
      "title": "Diffuse values in a 'world'",
      "topics": [
        "diffuse",
        "diffuse,worldArray,character,numeric,numeric-method",
        "diffuse,worldMatrix,missing,numeric,numeric-method"
      ]
    },
    {
      "page": "downhill",
      "title": "Move downhill",
      "topics": [
        "downhill",
        "downhill,worldArray,character,agentMatrix,numeric-method",
        "downhill,worldMatrix,missing,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "dx",
      "title": "x-increment",
      "topics": [
        "dx",
        "dx,agentMatrix,missing-method",
        "dx,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "dy",
      "title": "y-increment",
      "topics": [
        "dy",
        "dy,agentMatrix,missing-method",
        "dy,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "extent",
      "title": "Bounding box and extent methods for NetLogoR classes",
      "topics": [
        "extent,agentMatrix-method",
        "extent,worldNLR-method"
      ]
    },
    {
      "page": "face",
      "title": "Face something",
      "topics": [
        "face",
        "face,agentMatrix,matrix-method"
      ]
    },
    {
      "page": "fd",
      "title": "Move forward",
      "topics": [
        "fd",
        "fd,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "hatch",
      "title": "Hatch new 'turtles'",
      "topics": [
        "hatch",
        "hatch,agentMatrix,numeric,numeric-method"
      ]
    },
    {
      "page": "home",
      "title": "Return home",
      "topics": [
        "home",
        "home,worldNLR,agentMatrix,character-method"
      ]
    },
    {
      "page": "inCone",
      "title": "'Agents' in cone",
      "topics": [
        "inCone",
        "inCone,agentMatrix,numeric,numeric,matrix-method"
      ]
    },
    {
      "page": "initialize-agentMatrix-method",
      "title": "Initialize for 'agentMatrix' Class",
      "topics": [
        "initialize,agentMatrix-method"
      ]
    },
    {
      "page": "inRadius",
      "title": "'Agents' in radius",
      "topics": [
        "inRadius",
        "inRadius,matrix,numeric,matrix-method"
      ]
    },
    {
      "page": "inspect",
      "title": "Inspect 'turtles'",
      "topics": [
        "inspect",
        "inspect,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "isNLclass",
      "title": "Type of object",
      "topics": [
        "isNLclass",
        "isNLclass,matrix,character-method"
      ]
    },
    {
      "page": "layoutCircle",
      "title": "Layout 'turtles' on a circle",
      "topics": [
        "layoutCircle",
        "layoutCircle,worldNLR,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "left",
      "title": "Rotate to the left",
      "topics": [
        "left",
        "left,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "maxNof",
      "title": "'N' 'agents' with maximum",
      "topics": [
        "maxNof",
        "maxNof,agentMatrix,numeric,missing,character-method",
        "maxNof,matrix,numeric,worldArray,character-method",
        "maxNof,matrix,numeric,worldMatrix,missing-method"
      ]
    },
    {
      "page": "maxOneOf",
      "title": "One 'agent' with maximum",
      "topics": [
        "maxOneOf",
        "maxOneOf,agentMatrix,missing,character-method",
        "maxOneOf,matrix,worldArray,character-method",
        "maxOneOf,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "maxPxcor",
      "title": "Maximum 'pxcor'",
      "topics": [
        "maxPxcor",
        "maxPxcor,worldNLR-method"
      ]
    },
    {
      "page": "maxPycor",
      "title": "Maximum 'pycor'",
      "topics": [
        "maxPycor",
        "maxPycor,worldNLR-method"
      ]
    },
    {
      "page": "minNof",
      "title": "'N' 'agents' with minimum",
      "topics": [
        "minNof",
        "minNof,agentMatrix,numeric,missing,character-method",
        "minNof,matrix,numeric,worldArray,character-method",
        "minNof,matrix,numeric,worldMatrix,missing-method"
      ]
    },
    {
      "page": "minOneOf",
      "title": "One 'agent' with minimum",
      "topics": [
        "minOneOf",
        "minOneOf,agentMatrix,missing,character-method",
        "minOneOf,matrix,worldArray,character-method",
        "minOneOf,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "minPxcor",
      "title": "Minimum 'pxcor'",
      "topics": [
        "minPxcor",
        "minPxcor,worldNLR-method"
      ]
    },
    {
      "page": "minPycor",
      "title": "Minimum 'pycor'",
      "topics": [
        "minPycor",
        "minPycor,worldNLR-method"
      ]
    },
    {
      "page": "moveTo",
      "title": "Move to",
      "topics": [
        "moveTo",
        "moveTo,agentMatrix,matrix-method"
      ]
    },
    {
      "page": "neighbors",
      "title": "Neighbors 'patches'",
      "topics": [
        "neighbors",
        "neighbors,worldNLR,matrix,numeric-method"
      ]
    },
    {
      "page": "NLall",
      "title": "All agents?",
      "topics": [
        "all",
        "NLall",
        "NLall,agentMatrix,missing,character-method",
        "NLall,matrix,worldArray,character-method",
        "NLall,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "NLany",
      "title": "Any agents?",
      "topics": [
        "any",
        "NLany",
        "NLany,matrix-method"
      ]
    },
    {
      "page": "NLcount",
      "title": "Count agents",
      "topics": [
        "count",
        "NLcount",
        "NLcount,matrix-method"
      ]
    },
    {
      "page": "NLdist",
      "title": "Distances between agents",
      "topics": [
        "dist",
        "NLdist",
        "NLdist,matrix,matrix-method"
      ]
    },
    {
      "page": "NLset",
      "title": "Set an 'agents' variable",
      "topics": [
        "NLset",
        "NLset,missing,agentMatrix,agentMatrix,character-method",
        "NLset,worldArray,missing,matrix,character-method",
        "NLset,worldMatrix,missing,matrix,missing-method",
        "set"
      ]
    },
    {
      "page": "NLwith",
      "title": "'Agents' with",
      "topics": [
        "NLwith",
        "NLwith,agentMatrix,missing,character-method",
        "NLwith,matrix,worldArray,character-method",
        "NLwith,matrix,worldMatrix,missing-method",
        "with"
      ]
    },
    {
      "page": "NLworldIndex",
      "title": "'WorldMatrix' indices from vector indices",
      "topics": [
        "NLworldIndex",
        "NLworldIndex,worldMatrix,numeric-method"
      ]
    },
    {
      "page": "nOf",
      "title": "N random 'agents'",
      "topics": [
        "nOf",
        "nOf,matrix,numeric-method"
      ]
    },
    {
      "page": "noPatches",
      "title": "No 'patches'",
      "topics": [
        "noPatches"
      ]
    },
    {
      "page": "noTurtles",
      "title": "No 'turtles'",
      "topics": [
        "noTurtles"
      ]
    },
    {
      "page": "quickPlot-methods",
      "title": "Methods for 'quickPlot'",
      "topics": [
        ".identifyGrobToPlot,worldArray,.quickPlotGrob-method",
        "layerNames,worldArray-method",
        "numLayers.worldArray",
        "numLayers.worldMatrix"
      ]
    },
    {
      "page": "of",
      "title": "Values of an 'agents' variable",
      "topics": [
        "of",
        "of,missing,agentMatrix,character-method",
        "of,worldArray,matrix,character-method",
        "of,worldMatrix,matrix,missing-method"
      ]
    },
    {
      "page": "oneOf",
      "title": "One random 'agent'",
      "topics": [
        "oneOf",
        "oneOf,matrix-method"
      ]
    },
    {
      "page": "other",
      "title": "Others",
      "topics": [
        "other",
        "other,matrix,matrix-method"
      ]
    },
    {
      "page": "patch",
      "title": "'Patches' coordinates",
      "topics": [
        "patch",
        "patch,worldNLR,numeric,numeric-method"
      ]
    },
    {
      "page": "patchAhead",
      "title": "'Patches' ahead",
      "topics": [
        "patchAhead",
        "patchAhead,worldNLR,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "patchAt",
      "title": "'Patches' at",
      "topics": [
        "patchAt",
        "patchAt,worldNLR,matrix,numeric,numeric-method"
      ]
    },
    {
      "page": "patchDistDir",
      "title": "'Patches' at given distances and directions",
      "topics": [
        "patchDistDir",
        "patchDistDir,worldNLR,matrix,numeric,numeric-method"
      ]
    },
    {
      "page": "patches",
      "title": "All the 'patches' in a 'world'",
      "topics": [
        "patches",
        "patches,worldNLR-method"
      ]
    },
    {
      "page": "patchHere",
      "title": "'Patches' here",
      "topics": [
        "patchHere",
        "patchHere,worldNLR,agentMatrix-method"
      ]
    },
    {
      "page": "patchLeft",
      "title": "'Patches' on the left",
      "topics": [
        "patchLeft",
        "patchLeft,worldNLR,agentMatrix,numeric,numeric-method"
      ]
    },
    {
      "page": "patchRight",
      "title": "'Patches' on the right",
      "topics": [
        "patchRight",
        "patchRight,worldNLR,agentMatrix,numeric,numeric-method"
      ]
    },
    {
      "page": "patchSet",
      "title": "'Patch' set",
      "topics": [
        "patchSet",
        "patchSet,matrix-method"
      ]
    },
    {
      "page": "pExist",
      "title": "Do the patches exist?",
      "topics": [
        "pExist",
        "pExist,worldNLR,numeric,numeric-method"
      ]
    },
    {
      "page": "plotMethods",
      "title": "Basic plot methods for 'agentMatrix', 'worldMatrix', 'worldArray'",
      "topics": [
        "plot.agentMatrix",
        "plot.worldArray",
        "plot.worldMatrix",
        "points.agentMatrix"
      ]
    },
    {
      "page": "PxcorPycorFromCell",
      "title": "'Patches' coordinates from cells numbers",
      "topics": [
        "PxcorPycorFromCell",
        "PxcorPycorFromCell,worldNLR,numeric-method"
      ]
    },
    {
      "page": "randomPxcor",
      "title": "Random 'pxcor'",
      "topics": [
        "randomPxcor",
        "randomPxcor,worldNLR,numeric-method"
      ]
    },
    {
      "page": "randomPycor",
      "title": "Random 'pycor'",
      "topics": [
        "randomPycor",
        "randomPycor,worldNLR,numeric-method"
      ]
    },
    {
      "page": "randomXcor",
      "title": "Random 'xcor'",
      "topics": [
        "randomXcor",
        "randomXcor,worldNLR,numeric-method"
      ]
    },
    {
      "page": "randomXYcor",
      "title": "Random 'turtles' coordinates",
      "topics": [
        "randomXYcor",
        "randomXYcor,worldNLR,numeric-method"
      ]
    },
    {
      "page": "randomYcor",
      "title": "Random 'ycor'",
      "topics": [
        "randomYcor",
        "randomYcor,worldNLR,numeric-method"
      ]
    },
    {
      "page": "raster2world",
      "title": "Convert a Raster* object into a 'worldMatrix' or 'worldArray' object",
      "topics": [
        "raster2world",
        "raster2world,ANY-method"
      ]
    },
    {
      "page": "right",
      "title": "Rotate to the right",
      "topics": [
        "right",
        "right,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "setXY",
      "title": "Set 'turtles'' locations",
      "topics": [
        "setXY",
        "setXY,agentMatrix,numeric,numeric,missing,ANY-method",
        "setXY,agentMatrix,numeric,numeric,worldNLR,logical-method"
      ]
    },
    {
      "page": "sf2turtles",
      "title": "From 'sf' to 'agentMatrix'",
      "topics": [
        "sf2turtles",
        "sf2turtles,ANY-method"
      ]
    },
    {
      "page": "agentMatrix-show-methods",
      "title": "Key base R functions for 'agentMatrix' class",
      "topics": [
        "head",
        "head.agentMatrix",
        "length,agentMatrix-method",
        "nrow,agentMatrix-method",
        "show,agentMatrix-method",
        "tail",
        "tail.agentMatrix"
      ]
    },
    {
      "page": "show-methods",
      "title": "Key base R functions for 'worldNLR' classes",
      "topics": [
        "show,worldArray-method",
        "show,worldMatrix-method"
      ]
    },
    {
      "page": "sortOn",
      "title": "Sort 'agents'",
      "topics": [
        "sortOn",
        "sortOn,agentMatrix,missing,character-method",
        "sortOn,matrix,worldArray,character-method",
        "sortOn,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "spatRast2world",
      "title": "Convert a 'SpatRaster' object into a 'worldMatrix' or 'worldArray' object",
      "topics": [
        "spatRast2world",
        "spatRast2world,SpatRaster-method"
      ]
    },
    {
      "page": "spdf2turtles",
      "title": "From 'SpatialPointsDataFrame' to 'agentMatrix'",
      "topics": [
        "spdf2turtles",
        "spdf2turtles,ANY-method"
      ]
    },
    {
      "page": "sprout",
      "title": "Sprout new 'turtles'",
      "topics": [
        "sprout",
        "sprout,numeric,matrix-method"
      ]
    },
    {
      "page": "stackWorlds",
      "title": "Stack 'worlds'",
      "topics": [
        "stackWorlds",
        "stackWorlds,worldMatrix-method"
      ]
    },
    {
      "page": "subHeadings",
      "title": "Subtract 'headings'",
      "topics": [
        "subHeadings",
        "subHeadings,agentMatrix,agentMatrix-method",
        "subHeadings,agentMatrix,numeric-method",
        "subHeadings,numeric,agentMatrix-method",
        "subHeadings,numeric,numeric-method"
      ]
    },
    {
      "page": "tExist",
      "title": "Do the 'turtle' exist?",
      "topics": [
        "tExist",
        "tExist,agentMatrix,numeric,character-method",
        "tExist,agentMatrix,numeric,missing-method"
      ]
    },
    {
      "page": "towards",
      "title": "Directions towards",
      "topics": [
        "towards",
        "towards,matrix,matrix-method"
      ]
    },
    {
      "page": "turtle",
      "title": "Select 'turtles'",
      "topics": [
        "turtle",
        "turtle,agentMatrix,numeric,character-method",
        "turtle,agentMatrix,numeric,missing-method"
      ]
    },
    {
      "page": "turtles2sf",
      "title": "From 'agentMatrix' to 'sf'",
      "topics": [
        "turtles2sf",
        "turtles2sf,ANY-method"
      ]
    },
    {
      "page": "turtles2spdf",
      "title": "From 'agentMatrix' to 'SpatialPointsDataFrame'",
      "topics": [
        "turtles2spdf",
        "turtles2spdf,agentMatrix-method"
      ]
    },
    {
      "page": "turtlesAt",
      "title": "'Turtles' at",
      "topics": [
        "turtlesAt",
        "turtlesAt,worldNLR,agentMatrix,matrix,numeric,numeric,character-method",
        "turtlesAt,worldNLR,agentMatrix,matrix,numeric,numeric,missing-method"
      ]
    },
    {
      "page": "turtleSet",
      "title": "Create a 'turtle' 'agentset'",
      "topics": [
        "turtleSet",
        "turtleSet,agentMatrix-method"
      ]
    },
    {
      "page": "turtlesOn",
      "title": "'Turtles' on",
      "topics": [
        "turtlesOn",
        "turtlesOn,worldNLR,agentMatrix,matrix,character-method",
        "turtlesOn,worldNLR,agentMatrix,matrix,missing-method"
      ]
    },
    {
      "page": "turtlesOwn",
      "title": "New 'turtles' variable",
      "topics": [
        "turtlesOwn",
        "turtlesOwn,agentMatrix,character,ANY-method",
        "turtlesOwn,agentMatrix,character,missing-method"
      ]
    },
    {
      "page": "updateList",
      "title": "Update elements of a named list with elements of a second named list",
      "topics": [
        "updateList",
        "updateList,list,list-method",
        "updateList,list,NULL-method",
        "updateList,NULL,list-method",
        "updateList,NULL,NULL-method"
      ]
    },
    {
      "page": "uphill",
      "title": "Move uphill",
      "topics": [
        "uphill",
        "uphill,worldArray,character,agentMatrix,numeric-method",
        "uphill,worldMatrix,missing,agentMatrix,numeric-method"
      ]
    },
    {
      "page": "withMax",
      "title": "'Agents' with maximum",
      "topics": [
        "withMax",
        "withMax,agentMatrix,missing,character-method",
        "withMax,matrix,worldArray,character-method",
        "withMax,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "withMin",
      "title": "'Agents' with minimum",
      "topics": [
        "withMin",
        "withMin,agentMatrix,missing,character-method",
        "withMin,matrix,worldArray,character-method",
        "withMin,matrix,worldMatrix,missing-method"
      ]
    },
    {
      "page": "world2raster",
      "title": "Convert a 'worldMatrix' or 'worldArray' object into a Raster* object",
      "topics": [
        "world2raster",
        "world2raster,worldArray-method",
        "world2raster,worldMatrix-method"
      ]
    },
    {
      "page": "world2spatRast",
      "title": "Convert a 'worldMatrix' or 'worldArray' object into a 'SpatRaster' object",
      "topics": [
        "world2spatRast",
        "world2spatRast,worldArray-method",
        "world2spatRast,worldMatrix-method"
      ]
    },
    {
      "page": "worldArray-class",
      "title": "The 'worldArray' class",
      "topics": [
        "worldArray",
        "worldArray-class"
      ]
    },
    {
      "page": "worldHeight",
      "title": "'World' height",
      "topics": [
        "worldHeight",
        "worldHeight,worldNLR-method"
      ]
    },
    {
      "page": "worldMatrix-class",
      "title": "The 'worldMatrix' class",
      "topics": [
        "worldMatrix",
        "worldMatrix-class"
      ]
    },
    {
      "page": "worldNLR-class",
      "title": "The 'worldNLR' class",
      "topics": [
        "worldNLR",
        "worldNLR-class"
      ]
    },
    {
      "page": "worldWidth",
      "title": "'World' width",
      "topics": [
        "worldWidth",
        "worldWidth,worldNLR-method"
      ]
    },
    {
      "page": "wrap",
      "title": "Wrap coordinates or pixels in a torus-like fashion",
      "topics": [
        "wrap",
        "wrap,ANY-method"
      ]
    }
  ],
  "_readme": "https://github.com/PredictiveEcology/NetLogoR/raw/development/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "farver",
    "fpCompare",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "quickPlot",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "terra",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "NLR-Dictionary.Rmd",
      "filename": "NLR-Dictionary.html",
      "title": "NetLogoR Dictionary",
      "author": "Sarah Bauduin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "NetLogo constants",
        "NetLogo primitives",
        "A",
        "B",
        "C",
        "D",
        "E",
        "F",
        "G",
        "H",
        "I",
        "J",
        "L",
        "M",
        "N",
        "O",
        "P",
        "R",
        "S",
        "T",
        "U",
        "V",
        "W",
        "X",
        "Y",
        "?"
      ],
      "created": "2017-07-12 02:18:25",
      "modified": "2025-09-02 17:53:37",
      "commits": 9
    },
    {
      "source": "ProgrammingGuide.Rmd",
      "filename": "ProgrammingGuide.html",
      "title": "Programming Guide NetLogoR",
      "author": "Sarah Bauduin, Eliot McIntire",
      "engine": "knitr::rmarkdown",
      "headings": [
        "NetLogoR features",
        "World and agents",
        "Procedures",
        "Variables",
        "Agentsets",
        "World topology",
        "Tick counter",
        "Lists and strings",
        "Math and random numbers",
        "Input/output",
        "View, plot, screen output",
        "How to build a model using NetLogoR"
      ],
      "created": "2016-06-20 14:12:21",
      "modified": "2025-09-02 17:55:59",
      "commits": 15
    }
  ],
  "_score": 6.926753905189737,
  "_indexed": true,
  "_nocasepkg": "netlogor",
  "_universes": [
    "predictiveecology"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T07:49:09.000Z",
      "distro": "noble",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "1101635b0ec78180843e70b72af717cd7674fb9d788cd50a49d9a3db7503f22e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T07:48:51.000Z",
      "distro": "noble",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "3cabb47ac52df5491c25d5141806aa03f9cd4e2b17b06900a062759213cb965e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-01T07:48:49.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "12e51828ff68355e82d24b848a7f24acf6273ce049ae52f48c7a01cea5e77738",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-02T06:16:57.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "7ba43784beb01184b6a62152a2d1b9a7a48d530fe1b54b6093354858b6f70df6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.6",
      "date": "2026-06-01T07:48:44.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "f07fbf587c652933ccaa85aedda7f0d21f71d83c4a360f8cc2850e57842a8336",
      "status": "success",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T07:47:52.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "40aab483c0f83d1179d22da09be764aab64f57fdac509b65235a7ab3df0b41cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T07:47:34.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "9953a8093bb189fc09c94778ed6808de9bc516b0e62dd39678d2153db15de7d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T07:47:38.000Z",
      "commit": "18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057",
      "fileid": "549ce53d95e4504ba2ae8a1c7a8f1a1f05ee330b71f891b954e8630abfc8808d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26741823641"
    }
  ]
}