Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

posterior.mode

Estimates the marginal parameter modes using kernel density estimation


Description

Estimates the marginal parameter modes using kernel density estimation

Usage

posterior.mode(x, adjust=0.1, ...)

Arguments

x

mcmc object

adjust

numeric, passed to density to adjust the bandwidth of the kernal density

...

other arguments to be passed

Value

modes of the kernel density estimates

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

Examples

v<-rIW(as.matrix(1),10, n=1000)
hist(v)
abline(v=posterior.mode(mcmc(v)), col="red")

MCMCglmm

MCMC Generalised Linear Mixed Models

v2.32
GPL (>= 2)
Authors
Jarrod Hadfield
Initial release
2021-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.