Interp: Interpolates spatial data

Description Usage Arguments

View source: R/interpolate.R

Description

Interpolates data from regular grid or sparse points to (another) regular grid.

Usage

1
Interp(x, y, z, xp, yp, method = "linear", type = "points")

Arguments

x

vector of x coordinates (origin)

y

vector of y coordinates (origin)

z

numeric vector of values to be interpolated

xp

vector of x coordinates (target)

yp

vector of y coordinates (target)

method

interpolation method; can be "linear", "spline" or "nearest"

type

interpolation type; can be "points" or "grid"


jobonaf/pesco documentation built on May 19, 2019, 2:58 p.m.