Plot image of correlation matrix

Usage

function (x, combine.chains = F, col = topo.colors(10))

Arguments

x an mcmc object
combine.chains flag to calculate single correlation for all chains
col color palette to use

Description

crosscorr.plot provides an image of the correlation matrix for each Markov chain in x or, if combine.chains = T, for all chains combined.

The range [-1,1] is divided into a number of equal-length categories given by the length of col and assigned the corresponding color. By default, topographic colours are used as this makes it easier to distinguish positive and negative correlations.

See Also

crosscorr, image, topo.colors.


[Package Contents]