findMode: Estimate Mode of the Posterior Samples

Description Usage Arguments Details Value Author(s) Examples

View source: R/postMCMC.R

Description

This function estimates the mode of empirical density function for a given posterior samples.

Usage

1

Arguments

x

a vector of posterior samples

...

other parameters used when estimating then empirical density function; see ?density

Details

This function uses density function to estimate the empirical density function.

Value

The value of mode.

Author(s)

Liang Jing [email protected]

Examples

1
2
3
4
## Not run: 
findMode(rnorm(1000))

## End(Not run)

geoCount documentation built on May 31, 2017, 3:49 a.m.

Related to findMode in geoCount...