density_mode: Finding Modes Using Kernel Density Estimates

Description Usage Arguments Value Source Examples

View source: R/utils.R

Description

Finding Modes Using Kernel Density Estimates

Usage

1
density_mode(x, na.rm = FALSE)

Arguments

x

Numeric vector

na.rm

Should NAs be removed? Default is FALSE

Value

Mode estimate

Source

Website page https://rmflight.github.io/post/finding-modes-using-kernel-density-estimates/

Examples

1

mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.