A function to help choose the cell width (the parameter
"cellwidth" in lgcpPredictSpatialPlusPars, for example)
prior to setting up the FFT grid, before an MCMC run.
Usage
chooseCellwidth(obj, cwinit)
Arguments
obj
an object of class ppp, stppp,
SpatialPolygonsDataFrame, or owin
cwinit
the cell width
Value
produces a plot of the observation window and computational
grid.
Details
Ideally this function should be used after having made a
preliminary guess at the parameters of the latent field.The
idea is to run chooseCellwidth several times, adjusting the
parameter "cwinit" so as to balance available computational
resources with output grid size.