invdist {RGeostats}R Documentation

Inverse distance interpolation

Description

Interpolate a variable defined on a grid by Inverse Distance Method

Usage

invdist(dbin, dbout, exponent = 2, flag.expand = TRUE, dmax = NA,
	radix = "InvDist", modify.target = db.locmod())

Arguments

dbin

The db-class structure containing the input variable

dbout

The db-class structure containing the target file

exponent

Exponent applied to the inverse distance weighting function

flag.expand

When set to TRUE, the grid can be extrapolated. Otherwise any extrapolated sample will be set to NA

dmax

Maximum distance between target and data. This parameter is used only when the Input db-class is a set of isolated Points. This parameter is ignored is the Input db-class is a Grid

radix

Radix of the name given to the variables storing the results in the target db-class.

modify.target

Decides whether or not the newly created variables will have their locator defined or not. For more information, see db.locmod.

Value

The target db-class where the interpolated variable has been added.


[Package RGeostats version 11.1.1 Index]