interpolate_surface | R Documentation |
Grid interpolation to create a surface map over a spatial point pattern
where the marks of the point pattern are interpolated between the points.
Function currently uses matlab griddata
function for interpolation
using the R.matlab
package.
interpolate_surface(matlab, data, xsize = 10, ysize = 10, method = "v4")
matlab |
|
data |
marked point pattern ( |
xsize |
x pixel size of output image |
ysize |
y pixel size of output image |
method |
interpolation method for matlab gridata function, choices are "nearest", "linear", "natural", "cubic" and "v4" (default). |
im
of interpolated surface with pixel sizes
specified by xsize
and ysize
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.