get.neighbours
allows to get a
Arguments
- celltable
data frame with numbered cells as returned by the function create.grid.
- diagonal
logical; if
TRUE
, diagonal neighbours are included. Default:FALSE
.
Examples
grid <- create.grid()
neighbours <- get.neighbours(grid$celltable)