target.and.grad.spatialPlusPars {lgcp} | R Documentation |
target.and.grad.spatialPlusPars function
Description
A function to compute the target and gradient for the Bayesian spatial LGCP
Usage
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
[Package lgcp version 2.0 Index]