Get and set simulation parameters.
Normalize filepath
Extract or replace an object from the simulation environment
The .arrangement
class
initialize,simList-method
Generate a simList
object
Fast `adjacent` function, and Just In Time compiled version
Add a module to a moduleList
File extensions map
Importing some grid functions
Make a .spadesPlot
class object
SELES
- Probability of Initiation
The .moduleDeps
class
Plot: Fast, optimally arranged, multipanel plotting function with SpaDES
SELES
- Transitioning to next time step
Test whether a number lies within range [a,b]
Determine module load order
Dummy maps included with SpaDES
Parse and extract module metadata
Remove any reference to environments in a simList
Extract the layer names of Spatial Objects
Define a parameter used in a module
Check for existence of object(s) referenced by a objects
slot of a
simList
object
Check filepath.
Generate random strings
Get the name of a source
-ed file
Show an Object
Add simulation dependencies
Initialize a new simulation
Determine the largest timestep unit in a simulation
Categorized overview of the SpaDES
package
Calculate the hashes of multiple files
Prepare raster for plotting
Filter objects by class
Convert Raster to color matrix useable by raster function for plotting
Assess whether a list of extents are all equal
Parse arguments and find environments
Copy or move objects from one environment to another
Heading between spatial points.
Simulation environment
The .spadesGrob
class
Convert reduced representation to full raster
SELES
- Agent Location at initiation
Event priority
Default (empty) metadata
Determine which modules in a list are unparsed
Define a new module.
Determine the smallest timeunit in a simulation
Prune edges to remove cycles in module dependencies
Set colours for plotting Raster* objects.
Assign to the internal SpaDES environment.
Simulation checkpoints.
Build edge list for module dependency graph
Time usage in SpaDES
An internal function for coercing a data.frame to inputs()
Download module data
Find the latest module version from a SpaDES module repository
Convert grid.locator
units
Download a module from a SpaDES module GitHub repository
Cache method for simList class objects
Compare module version against SpaDES package version and warn if incompatible
Calculate module coverage of unit tests
Move
Read raster to memory
Extract filename (without extension) of a file
The .spadesPlotObjects
class
Specify where to plot
Schedule a simulation event
Open a new plotting window
List simulation objects and their structure
The spatialObjects
class
SpaDES time units
Classes defined in SpaDES
Update elements of a named list with elements of a second named list
Simulation modules and dependencies
Make SpatialLines
object from two SpatialPoints
objects
currentModule,.simList-method
Simulation event lists
Blank (template) event list
sim2gantt
Run an experiment using spades
ganttStatus
Mouse interactions with Plots
Extracts the object names
The .spadesPlottables
class
The simList_
class
List simulation objects
Convert numeric to character with padding
The .spadesPlot
class
Make an optimal layout of plots
Patch size
Make viewports
Simulate a spread process on a landscape.
Check use and existence of params passed to simulation.
Clear plotting device
Extract the file extension of a file
Is an object defined in the .spades environment?
Save objects using .saveObjects
in params
slot of simInit
Process a simulation event
Display a simple, interactive shiny app of the simList
Merge two SpaDES Plot objects
SELES
- Initiate agents
Copy a simList object
Get colours for plotting Raster* objects.
Check for the existence of a remote module
randomPolygons
The SpaDES environment
SELES - Number of Agents to initiate
Produce a raster
of a random Gaussian process.
Open all modules nested within a base directory
The simList
class
Run a spatial discrete event simulation
Find the number of layers in a Spatial Object
Create a zip archive of a module subdirectory
Sort a any named object with dotted names first
Determine optimal plotting arrangement of plot objects
Vectorized wrapped normal density function
Convert plotArgs
to list of lists
Identify where to get the grob from
Simulation object dependency diagram
Parse and initialize a module
Clear erroneous archivist artifacts
An internal function for coercing a data.frame to inputs()
Simulation module dependency diagram
Progress bar
The .simDeps
class
Plot spatial grobs (using grid
package)
Wrap coordinates or pixels in a torus-like fashion
Convert time units
Divergent colour palette
Find factors
Get objects from the internal SpaDES environment
Load packages.
Get simulation package dependencies
Specify paths for modules, inputs, and outputs
Split a raster into multiple tiles.
Identify pixels in a circle around a SpatialPoints* object.
Calculate checksums for a module's data files
Build a module dependency graph
Create empty fileTable for inputs and outputs
Create an empty (template) inputObjects and outputObjects data.frames
Simulation event diagram
Inputs and outputs
Create new module from template.
specificNumPerPatch