| plot_mcmc | R Documentation |
Plots trace, posterior and mixing diagnostics of the chain stored in the
mcmc component of an fdawarp object returned by time_warping_bayes()
(pCN) or time_warping_bayes_infHMC(). Plots that need the extra
information (extrainfo = TRUE) are drawn only when it is available.
plot_mcmc(x)
x |
An object of class |
The plots are:
chain diagnostics: trace of \sigma and of the log-likelihood with
the burn-in marked, posterior of \sigma with its 95% interval,
autocorrelation of \sigma with the effective sample size, running
acceptance rate, and proposals and acceptance by pCN step (pCN) or the
HMC step size of each function (infHMC);
trace of the norm of each function's warping coefficients;
posterior template with a 95% credible band;
posterior warping functions with 95% credible bands.
Invisibly, x.
## Not run:
out <- time_warping_bayes_infHMC(simu_data$f, simu_data$time)
plot_mcmc(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.