densplotAK {glmmAK} | R Documentation |
Displays a plot of the density estimate for each variable in x, calculated by the density function.
This is slightly modified version of densplot
function
of a coda
package to conform to my personal preferences.
densplotAK(x, plot=TRUE, show.obs=FALSE, bwf, bty="n", main ="", xlim, ylim, xlab, ylab, ...)
x |
an mcmc or mcmc.list object. |
plot |
if TRUE this function works more or less in the
same way as coda function densplot function.
If FALSE this function returns one data frame for each chain
with computed density which can be used for future plotting. |
show.obs |
show observations along the x-axis? |
bwf |
function for calculating the bandwidth. If omitted, the bandwidth is calculate by 1.06 times the minimum of the standard deviation and the interquartile range divided by 1.34 times the sample size to the negative one fifth power. |
xlim, ylim, xlab, ylab |
further arguments passed to the
plot.default function. |
bty, main, ... |
further arguments passed to the
plot.default function. |
Arnošt Komárek arnost.komarek[AT]mff.cuni.cz