Skip to contents

Grid square codes on the boundary

Usage

grid_boundary(grid, n = 1, type = NULL)

Arguments

grid

A grid vector.

n

A numeric vector of degrees. By default, 1.

type

A character vector of neighborhood types, "von_neumann" or "moore". By default, "von_neumann".

Value

A grid vector.