Learn R Programming

lgcp (version 1.3-8)

MALAlgcpMultitypeSpatial.PlusPars: MALAlgcpMultitypeSpatial.PlusPars function

Description

A function to run the MCMC algorithm for multivariate spatial point process data. Not for general purpose use.

Usage

MALAlgcpMultitypeSpatial.PlusPars(mcmcloop, inits, adaptivescheme, M, N, Mext,
  Next, mcens, ncens, formulaList, zml, Zmat, model.priorsList, model.initsList,
  fftgrid, spatial.covmodelList, nis, cellarea, spatialvals, cellInside,
  MCMCdiag, gradtrunc, gridfun, gridav, marks, ntypes, d)

Arguments

mcmcloop
details of the mcmc loop
inits
initial values
adaptivescheme
the adaptive MCMC scheme
M
number of grid cells in x direction
N
number of grid cells in y direction
Mext
number of extended grid cells in x direction
Next
number of extended grid cells in y direction
mcens
centroids in x direction
ncens
centroids in y direction
formulaList
a list of formula objects of the form X ~ var1 + var2 etc.
zml
list of design matrices
Zmat
a design matrix constructed using getZmat
model.priorsList
list of model priors, see lgcpPriors
model.initsList
list of model initial values, see lgcpInits
fftgrid
an objects of class FFTgrid, see genFFTgrid
spatial.covmodelList
list of spatial covariance models constructed using CovFunction
nis
cell counts on the etended grid
cellarea
the cell area
spatialvals
inerpolated poisson offset on fft grid
cellInside
0-1 matrix indicating inclusion in the observation window
MCMCdiag
not used
gradtrunc
gradient truncation parameter
gridfun
used to specify other actions to be taken, e.g. dumping MCMC output to disk.
gridav
used for computing Monte Carlo expectations online
marks
the marks from the marked ppp object
ntypes
the number of types being analysed
d
matrix of toral distances

Value

  • output from the MCMC run