autocorr.diag calculates the autocorrelation function for the
mcmc.obj at the lags given by
The lag values are taken to be relative to the thinning interval
has many parmeters it only computes the autocorrelations with itself and
not the cross correlations. In cases where
return a matrix, this function returns the diagonal of the matrix.
Hence it is more useful for chains with many parameters, but may not
be as helpful at spotting parameters.
mcmc.obj is of class
mcmc.list then the returned
vector is the average autocorrelation across all chains.
an object of class
optional arguments to be passed to
A vector containing the autocorrelations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.