simplr: Function for bilinear and simplical interpolation in 2D

Description Usage Arguments Value

View source: R/functions.R

Description

Function for bilinear and simplical interpolation in 2D

Usage

1
simplr(x0, y0, x, y, vfx, method = "bilinear")

Arguments

x0

coordinate for interpolation

y0

coordinate for interpolation

x

vector of x coordinates with known function values

y

vector of y coordinates with known function values

vfx

function values at each (x,y). Note x and y must form a crossing - must have function values at each possible combination

method

string either "bilinear" or "simplical"

Value

interpolated value at x0 and y0


mdgordo/flatlandr documentation built on Feb. 13, 2022, 11:31 a.m.