calc_peak_density.Rd
Computation of the peak value, of a density function with a gaussian kernel.
calc_peak_density(x)
A numeric vector
A numeric single value with the computed peak density value.
x <- rnorm(100) plot(density(x)) calc_peak_density(x) #> [1] 0.4891915