posterior.mode {MCMCglmm}R Documentation

Estimates the marginal parameter modes using kernel density estimation

Description

Estimates the marginal parameter modes using kernel density estimation

Usage

posterior.mode(x)

Arguments

x mcmc object

Value

modes of the kernel density estimates

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

density

Examples

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

[Package MCMCglmm version 1.10 Index]