ra_interpolate: Function to interpolate a raster object.

View source: R/ra_interpolate.R

ra_interpolateR Documentation

Function to interpolate a raster object.

Description

Function to interpolate a raster object.

Usage

ra_interpolate(
  ra,
  variable = "value",
  sp,
  method = "inverse_distance_weighted",
  n_max = Inf
)

Arguments

ra

Raster object to be interpolated.

variable

Variable name to interpolate in ra.

sp

Spatial point object which contains the locations of the raster points.

method

Interpolation method to use. Only inverse_distance_weighted is implemented.

n_max

The number of nearest observations that should be used for interpolation.

Value

Raster layer.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.