Learn R Programming

oce (version 1.8-3)

bilinearInterp: Bilinear Interpolation Within a Grid

Description

This is used by topoInterpolate.

Usage

bilinearInterp(x, y, gx, gy, g)

Value

vector of interpolated values

Arguments

x

vector of x values at which to interpolate

y

vector of y values at which to interpolate

gx

vector of x values for the grid

gy

vector of y values for the grid

g

matrix of the grid values