Additional Tools for Developing Spatially Explicit Discrete Event Simulation (SpaDES) Models

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,... |

crw | Move |

deprecated | 'fastCrop' is a wrapper around 'velox::VeloxRaster_crop',... |

directions | Calculate distances and directions between many points and... |

distanceFromEachPoint | Calculate distances and directions between many points and... |

distances | Point distance with C++ |

duplicated | Rcpp duplicated on integers using Rcpp Sugar |

dwrpnorm2 | Vectorized wrapped normal density function |

findFactors | Find factors |

gaussmap | Produce a 'raster' of a random Gaussian process. |

heading | Heading between spatial points. |

initiateAgents | 'SELES' - Initiate agents |

inRange | Test whether a number lies within range '[a,b]' |

match | A faster '%in%' based on fastmatch package |

matchedPointDirection | Calculate matched point directions |

patchSize | Patch size |

pkgEnv | The 'SpaDES.tools' package environment |

randomPolygons | randomPolygons |

rasterizeReduce | Convert reduced representation to full raster |

rcpp-extras | Rcpp Sugar version of runif |

resample | Adapted directly from the 'sample' help file. |

rings | Identifies all cells within a ring around the focal cells |

sampleV | Resample |

SELESagentLocation | 'SELES' - Agent Location at initiation |

SELESnumAgents | SELES - Number of Agents to initiate |

SELESprobInit | 'SELES' - Probability of Initiation |

SELEStransitions | 'SELES' - Transitioning to next time step |

SpaDES.tools-package | Categorized overview of the 'SpaDES.tools' package |

specnumperpatch-probs | Initiate a specific number of agents in a map of patches |

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... |

spread2-internals | Internal helper |

wrap | Wrap coordinates or pixels in a torus-like fashion |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.