Traceplot with the time series of the chains.
ggs_traceplot(
D,
family = NA,
original_burnin = TRUE,
original_thin = TRUE,
simplify = NULL,
hpd = FALSE,
greek = FALSE
)
Data frame with the simulations.
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[1], beta[2], etc).
Logical. When TRUE (the default) start the Iteration counter in the x-axis at the end of the burnin period.
Logical. When TRUE (the default) take into account the thinning interval in the x-axis.
Numerical. A percentage of iterations to keep in the time series. It is an option intended only for the purpose of saving time and resources when doing traceplots. It is not a thin operation, because it is not regular. It must be used with care.
Logical indicating whether HPD intervals (using the defaults from ci()) must be added to the plot. It is FALSE by default.
Logical value indicating whether parameter labels have to be parsed to get Greek letters. Defaults to false.
A ggplot
object.
Fern<U+00E1>ndez-i-Mar<U+00ED>n, Xavier (2016) ggmcmc: Analysis of MCMC Samples and Bayesian Inference. Journal of Statistical Software, 70(9), 1-20. doi:10.18637/jss.v070.i09
# NOT RUN {
data(linear)
ggs_traceplot(ggs(s))
# }
Run the code above in your browser using DataLab