Description Usage Arguments Value Author(s)
Plot 1 marginal prior and posterior pdf.
1 | plotPriPost(pri, pos, tag, xlim = range(c(pri, pos)), gPars, kl = TRUE)
|
pri |
prior sample |
pos |
posterior sample |
tag |
name of the variable |
xlim |
an interval |
gPars |
a list of graphical parameters and colors |
kl |
a logical to compute and display KL-divergence |
Produces a plot. The KL divergence in bits is displayed in the title if 'kl == TRUE'.
Pascal PERNOT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.