findMode {geoCount}R Documentation

Estimate Mode of the Posterior Samples

Description

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

Usage

findMode(x, ...)

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

## Not run: 
findMode(rnorm(1000))

## End(Not run)

[Package geoCount version 1.150120 Index]