autocorrMultitype function

Share:

Description

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

Usage

1
2
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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.