Description Usage Arguments Details Value
A function that implements a linear triangulation interpolation. The function is a wrapper to appropriate functions in the akima package.
1 2 |
locations |
The measurement locations to be used for interpolation. An object of class SpatialPointsDataFrame |
newdata |
The prediction locations. An objet of class SpatialPointsDataFrame, SpatialGridDataFrame, or SpatialPixelsDataFrame. |
density |
The density of the grid created by the interpolation. The first argument specifies the x density and the second the y density. |
A |
forumla argument specifying the response and explanatory variables. This formula should only be of the form RESPONSE ~ ELEVATION. No other formula types are allowed. |
bound_ouput |
If TRUE, the final ouputs are restricted to the observed outputs at the measurement locations. |
Note that this function does not use the formula call directly. Rather, if an explanatory variable is present, it is assumed to be the variable name for elevation and a normalized response, which is simply response/elevation, is used.
A numeric vector of predictions with length equal to the number of rows in newdata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.