ADVANCED USE ONLY A function to perform MALA for the spatial only case
MALAlgcpSpatial(
mcmcloop,
inits,
adaptivescheme,
M,
N,
Mext,
Next,
sigma,
phi,
mu,
nis,
cellarea,
spatialvals,
scaleconst,
rootQeigs,
invrootQeigs,
cellInside,
MCMCdiag,
gradtrunc,
gridfun,
gridav,
mcens,
ncens
)
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
spatial covariance parameter mu
cell counts matrix
area of cells
spatial at risk, function lambda, interpolated onto the requisite grid
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
object passed back to lgcpPredictSpatial