interpolate_surface: Interpolate a surface over a spatial point pattern

View source: R/cluster.R

interpolate_surfaceR Documentation

Interpolate a surface over a spatial point pattern

Description

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.

Usage

interpolate_surface(matlab, data, xsize = 10, ysize = 10, method = "v4")

Arguments

matlab

Matlab instance

data

marked point pattern (ppp object) with with a single vector of marks to be interpolated as a surface

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).

Value

im of interpolated surface with pixel sizes specified by xsize and ysize.


keithschulze/supr documentation built on Nov. 26, 2022, 7:09 a.m.