Learn R Programming

coda (version 0.19-4.1)

crosscorr: Cross correlations for MCMC output

Description

crosscorr calculates cross-correlations between variables in Markov Chain Monte Carlo output. If x is an mcmc.list then all chains in x are combined before calculating the correlation.

Usage

crosscorr(x)

Value

A matrix or 3-d array containing the correlations.

Arguments

x

an mcmc or mcmc.list object.

See Also

crosscorr.plot, autocorr.