autoplot.gride_bayes {intRinsic} | R Documentation |
Plot the simulated MCMC chains for the Bayesian Gride
Description
Use this method without the .gride_bayes
suffix.
It displays the traceplot of the chain generated
with Metropolis-Hasting updates to visually assess mixing and convergence.
Alternatively, it is possible to plot the posterior density.
Usage
## S3 method for class 'gride_bayes'
autoplot(
object,
traceplot = FALSE,
title = "Bayesian Gride - Posterior distribution",
...
)
Arguments
object |
object of class |
traceplot |
logical. If |
title |
optional string to display as title. |
... |
other arguments passed to specific methods. |
Value
object of class ggplot
.
It could represent the traceplot of the posterior simulations for the
Bayesian Gride
model (traceplot = TRUE
) or a density plot
of the simulated posterior distribution (traceplot = FALSE
).
See Also
Other autoplot methods:
autoplot.Hidalgo()
,
autoplot.twonn_bayes()
,
autoplot.twonn_linfit()
,
autoplot.twonn_mle()