Learn R Programming

ggmcmc (version 0.3)

ggs_compare_partial: Density plots comparing the distribution of the whole chain with only its last part.

Description

Density plots comparing the distribution of the whole chain with only its last part.

Usage

ggs_compare_partial(D, family = NA, partial = 0.1)

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[
partial
Percentage of the chain to compare to. Defaults to the last 10 percent.

Value

  • A ggplot object.

Examples

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

Run the code above in your browser using DataLab