interpIDW,GVector,GRaster-method | R Documentation |
This function interpolates values from a set of points to a raster using inverse distance weighting (IDW).
## S4 method for signature 'GVector,GRaster'
interpIDW(x, y, field, nPoints = Inf, power = 2)
x |
A "points" |
y |
A |
field |
Character, integer, or numeric integer: Name or index of the column in |
nPoints |
Integer or numeric integer: Number of nearest points to use for interpolation. The default is to use all points ( |
power |
Numeric value > 0: Power to which to take distance when interpolating. The default value is two, so the value of each point used for interpolation is |
A GRaster
.
terra::interpIDW()
, interpSplines()
, fillNAs()
, GRASS module v.surf.idw
(se grassHelp("v.surf.idw")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.