Learn R Programming

lgcp (version 1.3-3)

target.and.grad.MultitypespatialPlusPars: target.and.grad.MultitypespatialPlusPars function

Description

A function to compute the taget an gradient for the Bayesian multivariate lgcp

Usage

target.and.grad.MultitypespatialPlusPars(GPlist, priorlist, Zlist, Ztlist, eta,
  beta, nis, cellarea, spatial, gradtrunc)

Arguments

GPlist
list of Gaussian processes
priorlist
list of priors
Zlist
list of design matrices on the FFT gridd
Ztlist
list of transposed design matrices
eta
LGCP model parameter eta
beta
LGCP model parameter beta
nis
matrix of cell counts on the extended grid
cellarea
the cell area
spatial
the poisson offset interpolated onto the correcy grid
gradtrunc
gradient truncation paramter

Value

  • the target and gradient