getDistanceWeightedInterpolation: Generate a distance-weighted interpolation function with the...

View source: R/interpolations.R

getDistanceWeightedInterpolationR Documentation

Generate a distance-weighted interpolation function with the parameters of your choice.

Description

Produces an interpolation function of the form described in interpolations.

Usage

getDistanceWeightedInterpolation(inv.dist.fun = function(a, b) {    
  1/((a - b)^2) })

Arguments

inv.dist.fun

A function to calculate an inverse distance metric. Should be vectorized such that one of a or b may be a vector when the other is a scalar.


USGS-R/loadflex documentation built on July 26, 2023, 9:54 p.m.