autocorr | R Documentation |
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).
autocorr(
x,
lags,
tidx = NULL,
inWindow = x$xyt$window,
crop2parentwindow = TRUE,
...
)
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 |
an array, the [,,i]th slice being the grid of cell-wise autocorrelations.
lgcpPredict, dump2dir, setoutput, plot.lgcpAutocorr, ltar, parautocorr, traceplots, parsummary, textsummary, priorpost, postcov, exceedProbs, betavals, etavals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.