Description Usage Arguments Examples
This function outputs trace plots of certain latent variables.
1 |
res |
An output object from bhts(). |
var |
Variable for which to display convergence diagnostic plots. Current options are mu0 (displaying μ_{01},…,μ_{0K}), mu1 (displaying μ_{11},…,μ_{1K}), sigma0 (displaying σ_{01}^2,…,σ_{0K}^2), sigma1 (displaying σ_{11}^2,…,σ_{1K}^2), pk0 (displaying λ_{1}^{(0)},…,λ_{K}^{(0)}) and pk1 (displaying λ_{1}^{(1)},…,λ_{K}^{(1)}). |
ndisc |
Number of iterations for which to discard samples. |
nr |
Number of rows in the resulting composite plot. |
nc |
Number of columns in the resulting composite plot. |
type |
Type of convergence diagnostic. Currently implemented are trace plots (default type="trace") and ACF plots (type="acf") |
1 | #See package vignette
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.