A function to compute the taget an gradient for the Bayesian multivariate lgcp
target.and.grad.MultitypespatialPlusPars(
GPlist,
priorlist,
Zlist,
Ztlist,
eta,
beta,
nis,
cellarea,
spatial,
gradtrunc
)
list of Gaussian processes
list of priors
list of design matrices on the FFT gridd
list of transposed design matrices
LGCP model parameter eta
LGCP model parameter beta
matrix of cell counts on the extended grid
the cell area
the poisson offset interpolated onto the correcy grid
gradient truncation paramter
the target and gradient