get_density_mode: Convenience function for estimating the mode of dataset's...

Description Usage Arguments Value

View source: R/get_density_mode.R

Description

Convenience function for estimating the mode of dataset's density using kernel estimation. The kernel is estimated using R's base density() function and the max density point is chosen. If multiple points have equally high estimated density, the central one is chosen.

Usage

1

Arguments

v

Vector of distributed data as input for kernel density estimation

Value

A value specifying the position of the density mode


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.