Learn R Programming

ggmcmc (version 0.3)

ggs_autocorrelation: Plot an autocorrelation matrix

Description

Plot an autocorrelation matrix.

Usage

ggs_autocorrelation(D, family = NA, nLags = 50)

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[
nLags
Integer indicating the number of lags of the autocorrelation plot.

Value

  • A ggplot object.

Examples

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

Run the code above in your browser using DataLab