Learn R Programming

BGGM (version 1.0.0)

convergence: MCMC Convergence Plots

Description

Monitor converge of the MCMC sampler

Usage

convergence(x, type = "acf", param = "1--2")

Arguments

x

object of class estimate or explore

type

acf or trace plot

param

edge name(s) (e.g., "1--2" or c("1--2", "1--3"))

Value

ggplots

Examples

Run this code
# NOT RUN {
# plot
Y <- bfi[,1:5]

# fit model
fit <- estimate(Y)

# convergence plots
convergence(fit, type = "trace")
# }

Run the code above in your browser using DataLab