Learn R Programming

ggmcmc (version 0.3)

ggs_crosscorrelation: Plot the Cross-correlation between-chains

Description

Plot the Cross-correlation between-chains.

Usage

ggs_crosscorrelation(D, family = NA,
    absolute.scale = TRUE)

Arguments

D
Data frame whith the simulations.
family
Name of the family of parameters to plot, as given by a character vector or a regular expression. A family of parameters is considered to be any group of parameters with the same name but different numerical value between square brackets (as beta[
absolute.scale
Logical. When TRUE (the default), the scale of the colour diverges between perfect inverse correlation (-1) to perfect correlation (1), whereas when FALSE, the scale is relative to the minimum and maximum cross-correlations observed.

Value

  • a ggplot object.

Examples

Run this code
data(samples)
ggs_crosscorrelation(ggs(S, parallel=FALSE))

Run the code above in your browser using DataLab