View source: R/SpatioTemporalPlusParameters.R
| target.and.grad.SpatioTemporalPlusPars | R Documentation | 
A function to compute the target and gradient for the Bayesian spatiotemporal LGCP.
target.and.grad.SpatioTemporalPlusPars(
  GP,
  prior,
  Z,
  Zt,
  eta,
  beta,
  nis,
  cellarea,
  spatial,
  gradtrunc,
  ETA0,
  tdiff
)
| GP | an object created using the stGPrealisation function | 
| prior | the priors for hte model, created using lgcpPrior | 
| Z | the design matrix on the FFT grid | 
| Zt | the transpose of the design matrix | 
| eta | the paramers eta | 
| beta | the parameters beta | 
| nis | the cell counts on the FFT grid | 
| cellarea | the cell area | 
| spatial | the poisson offset | 
| gradtrunc | the gradient truncation parameter | 
| ETA0 | the initial value of eta | 
| tdiff | vector of time differences between time points | 
the target and gradient for the spatiotemporal model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.