autocorr {lgcp}R Documentation

autocorr function

Description

This function requires data to have been dumped to disk: see ?dump2dir and ?setoutput. The routine autocorr.lgcpPredict computes cellwise selected autocorrelations of Y. Since computing the quantiles is an expensive operation, the option to output the quantiles on a subregion of interest is also provided (by setting the argument inWindow, which has a sensible default).

Usage

autocorr(
  x,
  lags,
  tidx = NULL,
  inWindow = x$xyt$window,
  crop2parentwindow = TRUE,
  ...
)

Arguments

x

an object of class lgcpPredict

lags

a vector of the required lags

tidx

the index number of the the time interval of interest, default is the last time point.

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')

...

additional arguments

Value

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

See Also

lgcpPredict, dump2dir, setoutput, plot.lgcpAutocorr, ltar, parautocorr, traceplots, parsummary, textsummary, priorpost, postcov, exceedProbs, betavals, etavals


[Package lgcp version 2.0 Index]