| probInit | R Documentation |
SELES - Probability of InitiationDescribes the probability of initiation of agents or events. THIS IS NOT FULLY IMPLEMENTED.
A SELES-like function to maintain conceptual backwards compatibility
with that simulation tool. This is intended to ease transitions from
SELES.
You must know how to use SELES for these to be useful.
probInit(map, p = NULL, absolute = NULL)
map |
A |
p |
probability, provided as a numeric or raster |
absolute |
logical. Is |
A RasterLayer with probabilities of initialization.
There are several combinations of inputs possible and they each result
in different behaviours.
If p is numeric or Raster and between 0 and 1, it is treated as an
absolute probability, and a map will be produced with the p value(s) everywhere.
If p is numeric or Raster and not between 0 and 1, it is treated as a
relative probability, and a map will be produced with p/max(p) value(s) everywhere.
If absolute is provided, it will override the previous statements, unless
absolute = TRUE and p is not between 0 and 1 (i.e., is not a probability).
Eliot McIntire
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.