findMode: Estimate Mode of the Posterior Samples

Description Usage Arguments Details Value Author(s) Examples

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 ljing918@gmail.com

Examples

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

## End(Not run)

geoCount documentation built on May 2, 2019, 12:38 a.m.

Related to findMode in geoCount...