traceplot.cat_bayes {catalytic} | R Documentation |
Traceplot for Bayesian Sampling Model
Description
This function generates a traceplot for the Bayesian sampling model fitted
using rstan
. It utilizes the traceplot
function from the rstan
package
to visualize the sampling progress and convergence of the Markov Chain Monte Carlo (MCMC) chains
for the given model.
Usage
## S3 method for class 'cat_bayes'
traceplot(object, ...)
Arguments
object |
A fitted model object of class |
... |
Additional arguments passed to the |
Details
The function calls rstan::traceplot
on the stan_sample_model
contained
within the x
object. The resulting plot displays the trace of each parameter
across MCMC iterations, helping to assess the convergence and mixing of the chains.
Value
A traceplot displaying the MCMC chains' trace for each parameter, helping to assess convergence.