gapfill: Fill raster gaps

View source: R/gapfill_function.R

gapfillR Documentation

Fill raster gaps

Description

Function that fills gaps in a raster.

Usage

gapfill(
  in.ras,
  fill.window.size = 5,
  fill.window.type = "circle",
  fill.value = "mean"
)

Arguments

in.ras

Input raster

fill.window.size

Radius of the window around the focal pixel from which a filling value is calculated

fill.window.type

Shape of the window must be "circle" or "rectangle"

fill.value

Replacing value, e.g. "mean", "min", "max", of the filling window or simply 0 or NA

Value

Filled raster object

Author(s)

Nikolai Knapp

Examples

in progress

niknap/slidaRtools documentation built on Oct. 16, 2024, 3:53 p.m.