A function to perform polygon/polygon overlay operations and form the computational grid, on which inference will eventually take place. For details and examples of using this fucntion, please see the package vignette "Bayesian_lgcp"
getpolyol(
data,
regionalcovariates = NULL,
pixelcovariates = NULL,
cellwidth,
ext = 2,
inclusion = "touching"
)
an object of class ppp or SpatialPolygonsDataFrame, containing the event counts, i.e. the dataset that will eventually be analysed
an object of class SpatialPolygonsDataFrame containng regionally measured covariate information
X an object of class SpatialPixelsDataFrame containng regionally measured covariate information
the chosen cell width
the amount by which to extend the observation window in forming the FFT grid, default is 2. In the case that the point pattern has long range spatial correlation, this may need to be increased.
criterion for cells being included into observation window. Either 'touching' or 'centroid'. The former, the default, includes all cells that touch the observation window, the latter includes all cells whose centroids are inside the observation window.
an object of class lgcppolyol, which can then be fed into the function getZmat.
chooseCellwidth, guessinterp, getZmat, addTemporalCovariates, lgcpPrior, lgcpInits, CovFunction lgcpPredictSpatialPlusPars, lgcpPredictAggregateSpatialPlusPars, lgcpPredictSpatioTemporalPlusPars, lgcpPredictMultitypeSpatialPlusPars