MALAlgcpSpatial: MALAlgcpSpatial function

View source: R/lgcpPredictSpatial.R

MALAlgcpSpatialR Documentation

MALAlgcpSpatial function

Description

ADVANCED USE ONLY A function to perform MALA for the spatial only case

Usage

MALAlgcpSpatial(
  mcmcloop,
  inits,
  adaptivescheme,
  M,
  N,
  Mext,
  Next,
  sigma,
  phi,
  mu,
  nis,
  cellarea,
  spatialvals,
  scaleconst,
  rootQeigs,
  invrootQeigs,
  cellInside,
  MCMCdiag,
  gradtrunc,
  gridfun,
  gridav,
  mcens,
  ncens
)

Arguments

mcmcloop

an mcmcLoop object

inits

initial values from mcmc.control

adaptivescheme

adaptive scheme from mcmc.control

M

number of cells in x direction on output grid

N

number of cells in y direction on output grid

Mext

number of cells in x direction on extended output grid

Next

number of cells in y direction on extended output grid

sigma

spatial covariance parameter sigma

phi

spatial covariance parameter phi

mu

spatial covariance parameter mu

nis

cell counts matrix

cellarea

area of cells

spatialvals

spatial at risk, function lambda, interpolated onto the requisite grid

scaleconst

expected number of observations

rootQeigs

square root of eigenvalues of precision matrix

invrootQeigs

inverse square root of eigenvalues of precision matrix

cellInside

logical matrix dictating whether cells are inside the observation window

MCMCdiag

defunct

gradtrunc

gradient truncation parameter

gridfun

grid functions

gridav

grid average functions

mcens

x-coordinates of cell centroids

ncens

y-coordinates of cell centroids

Value

object passed back to lgcpPredictSpatial


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.