Finding Modes Using Kernel Density Estimates
density_mode(x, na.rm = FALSE)
x | Numeric vector |
---|---|
na.rm | Should NAs be removed? Default is |
Website page https://rmflight.github.io/post/finding-modes-using-kernel-density-estimates/
Mode estimate
#> [1] -0.1769384