posterior.mode | R Documentation |
Estimates the marginal parameter modes using kernel density estimation
posterior.mode(x, adjust=0.1, ...)
x |
mcmc object |
adjust |
numeric, passed to |
... |
other arguments to be passed |
modes of the kernel density estimates
Jarrod Hadfield j.hadfield@ed.ac.uk
density
v<-rIW(as.matrix(1),10, n=1000)
hist(v)
abline(v=posterior.mode(mcmc(v)), col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.