Skip to contents

[Deprecated]

Usage

grid_neighbor(grid, n = 1L, moore = TRUE, simplify = TRUE)

Arguments

grid

A grid vector.

n

A numeric vector of degrees. By default, 1L.

moore

Moore neighborhood (TRUE, default) or Von Neumann neighborhood (FALSE).

simplify

Should simplify the format of the return?

Value

A list of grid vectors.