Description Usage Arguments Details Value See Also
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.
1 2 | ## S3 method for class 'stppp'
selectObsWindow(xyt, cellwidth, ...)
|
xyt |
an object of class stppp |
cellwidth |
size of the grid spacing in chosen units (equivalent to the cell width argument in lgcpPredict) |
... |
additional arguments |
!!NOTE!! that this function also returns the grid ($xvals and $yvals) on which the FFT (and hence MALA) will be performed. It is useful to define spatialAtRiskobjects on this grid to prevent loss of information from the bilinear interpolation that takes place as part of the fitting algorithm.
a resized stppp object together with grid sizes M and N ready for FFT, together with the FFT grid locations, can be useful for estimating lambda(s)
spatialAtRisk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.