Description Usage Arguments Value Author(s)
Function to perform interpolation on an irregular grid.
1 2 | intpol.irregular(x,x.data,y.data,method=c("neighbor","invdist"),
scales.x=NA,fact=1)
|
x |
vector of values of independent variable at which to interpolate; |
x.data |
matrix of independent independent variables; each row of |
y.data |
vector of values of the dependent variable; one value for each row of |
method |
"neighbor" does nearest neighbor interpolation (piecewise constant function of value at nearest data point); "invdist" weights the provided dependent values according to the inverse of the distance to |
scales.x |
values of |
fact |
scaling factor |
Returns interpolated values.
Peter Reichert <peter.reichert@eawag.ch>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.