getSafeApprox: Return a function interpolating over a grid

View source: R/ProcessNeighborhoods.R

getSafeApproxR Documentation

Return a function interpolating over a grid

Description

In the interior of x, interpolation is used, otherwise the value of y at the endpoint is used. Returns an empty list if length(x) = 0.

Usage

getSafeApprox(lpath)

Arguments

lpath

grid of points over which interpolation is required

Value

function of (x,y) providing the interpolations for x=lpath


amcdavid/HurdleNormal documentation built on May 14, 2022, 11:12 p.m.