Learn R Programming

lgcp (version 0.9-2)

selectObsWindow.stppp: selectObsWindow...

Description

selectObsWindow.stppp function

Usage

## S3 method for class 'stppp':
selectObsWindow(xyt, gridsize, ...)

Arguments

xyt
an object of class stppp
gridsize
size of the grid spacing in chosen units (equivalent to the cell width argument in lgcpPredict)
...
additional arguments

Value

  • a resized stppp object together with grid sizes M and N ready for FFT

Details

This function computes an appropriate observation window on which to perform prediction. Since the FFT grid must have dimension 2^M by 2^N for some M and N, the window xyt$window, is extended to allow this to be fit in for a given cell width.