View source: R/calc_peak_density.r
calc_peak_density | R Documentation |
Computation of the peak value, of a density function with a gaussian kernel.
calc_peak_density(x)
x |
A numeric vector |
A numeric single value with the computed peak density value.
x <- rnorm(100)
plot(density(x))
calc_peak_density(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.