neighboursMatrix | R Documentation |
finds the 8 neighbours of each cell in a matrix
neighboursMatrix(mat)
mat |
a |
a matrix of 8 rows, with a columns per cell of the input matrix, which is treated by columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.