Description Usage Arguments Value
View source: R/fct_constraints.R
Function for spatial constraint that only looks for North (top) and South (bottom) neighbors of the current element (i,j) of the matrix m.
1 | findNSneighbors(m, i, j)
|
m, |
matrix |
i, |
integer, line index in the matrix |
j, |
integer, column index in the matrix |
A vector containing the North and South neighbors of the element (i,j) of the matrix being processed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.