Description Usage Arguments Value Author(s) See Also Examples
Creates a plot containing overlaying kernel density estimates from different MCMC simulations. This function is used in the denoverplot
function to produce plots of overlaying densities for parameters in common from two different MCMC simulations.
1 2 3 |
... |
one or more vectors or a list containing one or more vectors to be plotted. |
ci |
if non |
col |
one or more colors for the densities. Default is |
lty |
types of lines to plot. |
xlim |
limits for the x axis. |
ylim |
limits for the y axis. |
xlab |
label for the x axis. |
ylab |
label for the y axis. |
main |
main title for plot. |
style |
if "gray", then the plotting region is printed with a gray background, otherwise the default plotting region is used. |
gpar |
a list of additional graphical parameters to be passed to the plotting function. See help for |
Creates a plot.
S. McKay Curtis with contributions from Ilya Goldin
denoverplot
, denplot
, traplot1
1 2 3 4 5 | denoverplot1(rnorm(1000), rnorm(1000))
denoverplot1(rnorm(1000, 0.0, 1.0), rnorm(1000, 0.1, 1.0),
style="plain", col=mcmcplotsPalette(2, type="grayscale"),
ci=0.95)
denoverplot1(list(rgamma(1000, 1, 1), rgamma(1000, 1, 1)))
|
Loading required package: coda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.