autocorrMultitype {lgcp}R Documentation

autocorrMultitype function

Description

A function to compute cell-wise autocorrelation in the latent field at specifiec lags

Usage

autocorrMultitype(
  x,
  lags,
  fieldno,
  inWindow = x$xyt$window,
  crop2parentwindow = TRUE,
  ...
)

Arguments

x

an object of class lgcpPredictMultitypeSpatialPlusParameters

lags

the lags at which to compute the autocorrelation

fieldno

the index of the lateyt field, the i in Y_i, see the help file for lgcpPredictMultitypeSpatialPlusParameters. IN diagnostic checking ,this command should be called for each field in the model.

inWindow

an observation owin window on which to compute the autocorrelations, can speed up calculation. Default is x$xyt$window, set to NULL for full grid.

crop2parentwindow

logical: whether to only compute autocorrelations for cells inside x$xyt$window (the 'parent window')

...

other arguments

Value

an array, the [,,i]th slice being the grid of cell-wise autocorrelations.


[Package lgcp version 2.0 Index]