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.
Additional modelling tools for Spatial Discrete Event Simulation (
SpaDES) module development.
Provides GIS/map utilities and additional modeling tools for developing cellular automata and agent based models in
Building packages from source requires the appropriate development libraries for your operating system (e.g., Windows users should install Rtools).
Install from CRAN:
Install from GitHub:
#install.packages("devtools")library("devtools")install_github("PredictiveEcology/SpaDES.tools", dependencies = TRUE) # stable
Install from GitHub:
#install.packages("devtools")library("devtools")install_github("PredictiveEcology/SpaDES.tools", ref = "development", dependencies = TRUE) # unstable
Known issues: https://github.com/PredictiveEcology/SpaDES.tools/issues
sfto suggests (used in examples)
spread2now takes a numeric for
allowOverlap, to allow for 1 more scenario of overlapping, namely, allow between event overlapping, and within event overlapping only if the overlap occurs in the same iteration, otherwise, do not allow overlap within event.
spread3for simulating e.g., insect spread
pointDistanceis now exported
RandomFieldsmoved to Suggests to prevent clashes with
areaargument, instead of
hectares(deprecated), and it now succeeds for more cases.
mergeRasternow accepts a function passed by the user when
mosaicis triggered (#55, @tati-micheletti)
initiateAgentsexample fixed to work with newer
rasterpackage versions (@rhijmans)
splitRasterdefaults to in-memory rasters when no file path specified (#47, @ianmseddy).
compilerpackage no longer used; is automatic in R >= 3.5
raster::cropis faster than
velox::cropunder many tests.
fastMask(): moved to the
mgcvadded to Suggests because they are used in tests.
randomPolygonfunction for single random polygon.
A new package, which takes all auxiliary modelling functions out of the
?SpaDES.tools::SpaDES.toolsfor an overview of included functionality.