Description Usage Arguments Value Author(s) See Also Examples
Generates a fast function f(x,y) that interpolates regularly gridded data, based on the equivalent subroutine approxfun
in 1D.
1 | approxfun2(x, y, z, outside = NA)
|
x |
vector of x-coordinates; must be strictly monotonically increasing, but not necessarily equally spaced |
y |
vector of y-coordinates; must be strictly monotonically increasing, but not necessarily equally spaced |
z |
matrix of dimension c(length(x),length(y)) containing the function values to be interpolated |
outside |
value of the approximation function outside the grid (default is NA) |
Returns a fast an vectorized interpolation function f(x,y)
Danail Obreschkow
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.