Learn R Programming

ggmcmc (version 0.3)

ggs_running: Running means of the chains

Description

Running means of the chains.

Usage

ggs_running(D, family = NA, original.burnin = TRUE,
    original.thin = 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[
original.burnin
Logical. When TRUE (the default), start the iteration counter in the x-axis at the end of the burnin period.
original.thin
Logical. When TRUE (the default), take into account the thinning interval in the x-axis.

Value

  • A ggplot object.

Examples

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

Run the code above in your browser using DataLab