View source: R/autoplot_gride.R
autoplot.gride_bayes | R Documentation |
Gride
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.
## S3 method for class 'gride_bayes'
autoplot(
object,
traceplot = FALSE,
title = "Bayesian Gride - Posterior distribution",
...
)
object |
object of class |
traceplot |
logical. If |
title |
optional string to display as title. |
... |
other arguments passed to specific methods. |
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
).
gride
Other autoplot methods:
autoplot.Hidalgo()
,
autoplot.twonn_bayes()
,
autoplot.twonn_linfit()
,
autoplot.twonn_mle()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.