Learn R Programming

spdynmod (version 1.1.6)

neigh_cell: A function to identify neighboring cells.

Description

Returns cell numbers of neighboring pixels to a reference cell

Usage

neigh_cell(cell)

Arguments

cell

cell number from which to compute neighbor cells

Value

returns cell numbers of neighboring pixels to the reference one

Examples

Run this code
# NOT RUN {
## Not run neigh_cell(n)
# }

Run the code above in your browser using DataLab