Description Usage Arguments Details Value Author(s) Examples
The extra environmental rules for the Game of Life.
1 |
lraster |
A raster where living and dead cells are processed. |
env |
A raster object with exactly the same proprieties as lraster but with values defining the environmental setting. For instance, a climate raster. |
mean |
The mean value of a normal distribution defining the suitable values in relation to the env raster. |
sd |
The standard deviation of a normal distribution defining the suitable values in relation to the env raster. |
alpha |
Suitable values in the normal distribution are found within the interval (alpha, 1-alpha). |
This function accepts a raster with ones and zeros (alive and dead cells) and a second raster with same extent and resolution that has environmental information. Based on a normal distribution with 'mean' and 'sd', cells that are alive but on unsuitable areas are set to zero.
A raster representing the alive/dead cells in the following generation.
Pedro Tarroso
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.