autocorr: autocorr function

Description Usage Arguments Value See Also

View source: R/lgcpMethods.R

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

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


lgcp documentation built on May 22, 2018, 5:05 p.m.