edges: Remove cells in the neighorhood of a boundary cell

Description Usage Arguments See Also

Description

Assigns NA value to all cells having a NA values within their w x w neighorhood.

Usage

1
edges(x, w, filename = "", ...)

Arguments

x

A Raster* object

w

Numeric. Size of the window around each cell. Must be an odd number.

filename

Character (optional). Output filename including path to directory and eventually extension

...

Additional arguments passed to writeRaster

See Also

focal


mqueinnec/foster documentation built on June 3, 2019, 4:22 a.m.