Learn R Programming

lgcp (version 1.8)

fftinterpolate.fromSPDF: fftinterpolate.fromSPDF function

Description

This method performs interpolation within the function fftgrid for fromSPDF objects.

Usage

# S3 method for fromSPDF
fftinterpolate(spatial, mcens, ncens, ext, ...)

Arguments

spatial

objects of class spatialAtRisk

mcens

x-coordinates of interpolation grid in extended space

ncens

y-coordinates of interpolation grid in extended space

ext

integer multiple by which grid should be extended, default is 2. Generally this will not need to be altered, but if the spatial correlation decays slowly, increasing 'ext' may be necessary.

...

additional arguments

Value

matrix of interpolated values

See Also

fftgrid, spatialAtRisk.SpatialPolygonsDataFrame