Description Usage Arguments Details Value
Create vector maps for cellular automata updating.
1 2 |
width |
An integer number giving the width of the landscape or a landscape object. |
height |
An integer number. The height of the landscape. Defaults to value given in width. |
boundary |
A character value representing the type of boundary
conditions. Defaults to |
i_matrix |
A matrix defining the interaction matrix to be evaluated. Defaults to 4-cell neighborhood. |
This function and the objects generated by it are necessary for the
function neighbors
to vectorise the calculation of
neighbors. The interaction matrix can be flexibly defined as a matrix that
has precisely one cell with value NA
, marking the focal cell. Any
number larger than 0 marks a cell that is to be taken into account for
counting.
Creates a map of the landscape object to translate it into a vector
with boundaries (x_with_border
) and another one to back-translate it
to a vector without boundaries (x_to_evaluate
) into the global
environment. This will automatically be called within ca()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.