Learn R Programming

lgcp (version 1.8)

fftgrid: fftgrid function

Description

! As of lgcp version 0.9-5, this function is no longer used !

Usage

fftgrid(xyt, M, N, spatial, sigma, phi, model, covpars, inclusion = "touching")

Arguments

xyt

object of class stppp

M

number of centroids in x-direction

N

number of centroids in y-direction

spatial

an object of class spatialAtRisk

sigma

scaling paramter for spatial covariance function, see Brix and Diggle (2001)

phi

scaling paramter for spatial covariance function, see Brix and Diggle (2001)

model

correlation type see ?CovarianceFct

covpars

vector of additional parameters for certain classes of covariance function (eg Matern), these must be supplied in the order given in ?CovarianceFct

inclusion

criterion for cells being included into observation window. Either 'touching' or 'centroid'. The former includes all cells that touch the observation window, the latter includes all cells whose centroids are inside the observation window.

Value

fft objects for use in MALA

Details

Advanced use only. Computes various quantities for use in lgcpPredict, lgcpSim .