autocorrMultitype: autocorrMultitype function

Description Usage Arguments Value

View source: R/MultitypeSpatialOnlyPlusParameters.R

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.



lgcp documentation built on May 19, 2017, 2:59 p.m.
Search within the lgcp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.