## All functions

agentLocation()

SELES - Agent Location at initiation

numAgents()

SELES - Number of Agents to initiate

probInit()

SELES - Probability of Initiation

transitions()

SELES - Transitioning to next time step

SpaDES.tools-package

Categorized overview of the SpaDES.tools package

adj.raw() adj()

Fast adjacent function, and Just In Time compiled version

cir()

Identify pixels in a circle or ring (donut) around an object.

.cirSpecialQuick()

This is a very fast version of cir with allowOverlap = TRUE, allowDuplicates = FALSE, returnIndices = TRUE, returnDistances = TRUE, and includeBehavior = "excludePixels". It is used inside spread2, when asymmetry is active. The basic algorithm is to run cir just once, then add to the xy coordinates of every locus

move() crw()

Move

fastCrop()

fastCrop is a wrapper around velox::VeloxRaster_crop, though raster::crop is faster under many tests.

distanceFromEachPoint()

Calculate distances and directions between many points and many grid cells

duplicatedInt()

Rcpp duplicated on integers using Rcpp Sugar

dwrpnorm2()

Vectorized wrapped normal density function

gaussMap()

Produce a raster of a random Gaussian process.

heading()

inRange()

Test whether a number lies within range [a,b]

initiateAgents()

SELES - Initiate agents

%fin%

A faster '%in%' based on fastmatch package

patchSize()

Patch size

randomPolygons() randomPolygon()

randomPolygons

rasterizeReduced()

Convert reduced representation to full raster

runifC()

Rcpp Sugar version of runif

resample() resampleZeroProof()

Adapted directly from the sample help file.

rings()

Identifies all cells within a ring around the focal cells

specificNumPerPatch()

Initiate a specific number of agents in a map of patches

mergeRaster() splitRaster()

Split and re-merge RasterLayer(s)

spokes()

Identify outward radiating spokes from initial points

spread()

Simulate a spread process on a landscape.

spread2()

Simulate a contagious spread process on a landscape, with data.table internals

wrap()

Wrap coordinates or pixels in a torus-like fashion