View source: R/nhapply_manipulation.R
This function takes a matrix and a list of lagged rows/columns as inputs and creates a 2-dimensional matrix with as many rows as objects in the neighbourhood.
1 | open_matrix(mat, lags)
|
mat |
is the matrix to open and must be 2-dimensional. |
lags |
is a list of coordinates describing the pixel neighbourhoods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.