Additional Tools for Developing Spatially Explicit Discrete Event Simulation (SpaDES) Models
Fast adjacent function, and Just In Time compiled version
Identify pixels in a circle or ring (doughnut) around an object.
This is a very fast version of cir with allowOverlap = TRUE, `allo...
Move
fastCrop is deprecated.
Calculate distances and directions between many points and many grid c...
Calculate distances and directions between many points and many grid c...
Alternative point distance (and direction) calculations
Rcpp duplicated on integers using Rcpp Sugar
Vectorized wrapped normal density function
Find factors
Produce a raster of a random Gaussian process.
Heading between spatial points.
SELES - Initiate agents
Test whether a number lies within range [a,b]
Calculate matched point directions
Return the (approximate) middle pixel on a raster
Produce a neutral landscape using a midpoint displacement algorithm
Patch size
The SpaDES.tools package environment
Produce a SpatRaster of random polygons
Create default study areas for use with SpaDES modules
Convert reduced representation to full raster
Rcpp Sugar version of runif
Adapted directly from the base::sample() help file.
Identifies all cells within a ring around the focal cells
Resample
SELES - Agent Location at initiation
SELES - Number of Agents to initiate
SELES - Probability of Initiation
SELES - Transitioning to next time step
Categorized overview of the SpaDES.tools package
Initiate a specific number of agents in a map of patches
Split and re-merge RasterLayer(s)
Identify outward radiating spokes from initial points
Simulate a spread process on a landscape.
Internal helpers
Simulate a contagious spread process on a landscape, with data.table...
An alternative spread function, conceived for insects
Test that metadata of 2 or more objects is the same
Wrap coordinates or pixels in a torus-like fashion
Provides GIS and map utilities, plus additional modeling tools for developing cellular automata, dynamic raster models, and agent based models in 'SpaDES'. Included are various methods for spatial spreading, spatial agents, GIS operations, random map generation, and others. See '?SpaDES.tools' for an categorized overview of these additional tools. The suggested package 'NLMR' can be installed from the following repository: (<https://PredictiveEcology.r-universe.dev>).
Useful links