ADVANCED USE ONLY A function to perform MALA for the spatial only case
MALAlgcp(
mcmcloop,
inits,
adaptivescheme,
M,
N,
Mext,
Next,
sigma,
phi,
theta,
mu,
nis,
cellarea,
spatialvals,
temporal.fitted,
tdiff,
scaleconst,
rootQeigs,
invrootQeigs,
cellInside,
MCMCdiag,
gradtrunc,
gridfun,
gridav,
mcens,
ncens,
aggtimes
)
an mcmcLoop object
initial values from mcmc.control
adaptive scheme from mcmc.control
number of cells in x direction on output grid
number of cells in y direction on output grid
number of cells in x direction on extended output grid
number of cells in y direction on extended output grid
spatial covariance parameter sigma
spatial covariance parameter phi
temporal correlation parameter theta
spatial covariance parameter mu
cell counts matrix
area of cells
spatial at risk, function lambda, interpolated onto the requisite grid
temporal fitted values representing mu(t)
vecto of time differences with convention that the first element is Inf
expected number of observations
square root of eigenvalues of precision matrix
inverse square root of eigenvalues of precision matrix
logical matrix dictating whether cells are inside the observation window
defunct
gradient truncation parameter
grid functions
grid average functions
x-coordinates of cell centroids
y-coordinates of cell centroids
z-coordinates of cell centroids (ie time)
object passed back to lgcpPredictSpatial