target.and.grad.spatialPlusPars: target.and.grad.spatialPlusPars function

Description Usage Arguments Value

Description

A function to compute the target and gradient for the Bayesian spatial LGCP

Usage

1
2
target.and.grad.spatialPlusPars(GP, prior, Z, Zt, eta, beta, nis, cellarea,
  spatial, gradtrunc)

Arguments

GP

an object created using GPrealisation

prior

the model priors, created using lgcpPrior

Z

the design matrix on the FFT grid

Zt

transpose of the design matrix

eta

the paramters, eta

beta

the parameters, beta

nis

cell counts on the FFT grid

cellarea

the cell area

spatial

poisson offset

gradtrunc

the gradient truncation parameter

Value

the target and graient for this model


bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.