R/sperrorest_misc.R
tile_neighbors.Rd
This based on 'counting' up and down based on the tile name.
tile_neighbors(nm, tileset, iterate = 0, diagonal = FALSE)
Character string or factor: name of a tile, e.g., 'X4:Y6'
Admissible tile names; if missing and nm
is a factor
variable, then levels(nm)
is used as a default for tileset
.
internal - do not change default: to control behaviour in an interactive call to this function.
if TRUE
, diagonal neighbours are also considered
neighbours.
Character string.