Learn R Programming

topolow (version 1.0.0)

find_mode: Find Mode of Density Distribution

Description

Calculates the mode (maximum point) of a kernel density estimate.

Usage

find_mode(density)

Value

Numeric value of the mode

Arguments

density

List containing density estimate with components:

x

Vector of values

y

Vector of density estimates