Learn R Programming

lgcp (version 1.3-8)

computeGradtruncSpatioTemporal: computeGradtruncSpatioTemporal function

Description

Advanced use only. A function to compute a gradient truncation parameter for 'spatial only' MALA via simulation. The function requires an FFT 'grid' to be pre-computed, see fftgrid.

Usage

computeGradtruncSpatioTemporal(nsims = 100, scale = 1, nis, mu, rootQeigs,
  invrootQeigs, spatial, temporal, bt, cellarea)

Arguments

nsims
The number of simulations to use in computation of gradient truncation.
scale
multiplicative scaling constant, returned value is scale (times) max(gradient over simulations). Default scale is 1.
nis
cell counts on the extended grid
mu
parameter of latent field, mu
rootQeigs
root of eigenvalues of precision matrix of latent field
invrootQeigs
reciprocal root of eigenvalues of precision matrix of latent field
spatial
spatial at risk interpolated onto grid of requisite size
temporal
fitted temporal values
bt
vectoer of variances b(delta t) in Brix and Diggle 2001
cellarea
cell area

Value

  • gradient truncation parameter

See Also

fftgrid